Interface DescribeConfigurationRecordersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConfigRequest.Builder,CopyableBuilder<DescribeConfigurationRecordersRequest.Builder,,DescribeConfigurationRecordersRequest> SdkBuilder<DescribeConfigurationRecordersRequest.Builder,,DescribeConfigurationRecordersRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeConfigurationRecordersRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the configuration recorder that you want to specify.configurationRecorderNames(String... configurationRecorderNames) A list of names of the configuration recorders that you want to specify.configurationRecorderNames(Collection<String> configurationRecorderNames) A list of names of the configuration recorders that you want to specify.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.servicePrincipal(String servicePrincipal) For service-linked configuration recorders, you can use the service principal of the linked Amazon Web Services service to specify the configuration recorder.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
configurationRecorderNames
DescribeConfigurationRecordersRequest.Builder configurationRecorderNames(Collection<String> configurationRecorderNames) A list of names of the configuration recorders that you want to specify.
When making a request to this operation, you can only specify one configuration recorder.
- Parameters:
configurationRecorderNames- A list of names of the configuration recorders that you want to specify.When making a request to this operation, you can only specify one configuration recorder.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationRecorderNames
DescribeConfigurationRecordersRequest.Builder configurationRecorderNames(String... configurationRecorderNames) A list of names of the configuration recorders that you want to specify.
When making a request to this operation, you can only specify one configuration recorder.
- Parameters:
configurationRecorderNames- A list of names of the configuration recorders that you want to specify.When making a request to this operation, you can only specify one configuration recorder.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicePrincipal
For service-linked configuration recorders, you can use the service principal of the linked Amazon Web Services service to specify the configuration recorder. This field is only supported for Amazon Web Services service principals. For third-party service-linked configuration recorders, use
Arninstead.- Parameters:
servicePrincipal- For service-linked configuration recorders, you can use the service principal of the linked Amazon Web Services service to specify the configuration recorder. This field is only supported for Amazon Web Services service principals. For third-party service-linked configuration recorders, useArninstead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the configuration recorder that you want to specify.
- Parameters:
arn- The Amazon Resource Name (ARN) of the configuration recorder that you want to specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeConfigurationRecordersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeConfigurationRecordersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-