Interface UpdateStorageSystemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateStorageSystemRequest.Builder,,UpdateStorageSystemRequest> DataSyncRequest.Builder,SdkBuilder<UpdateStorageSystemRequest.Builder,,UpdateStorageSystemRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateStorageSystemRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads your on-premises storage system.agentArns(Collection<String> agentArns) Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads your on-premises storage system.cloudWatchLogGroupArn(String cloudWatchLogGroupArn) Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.credentials(Consumer<Credentials.Builder> credentials) Specifies the user name and password for accessing your on-premises storage system's management interface.credentials(Credentials credentials) Specifies the user name and password for accessing your on-premises storage system's management interface.Specifies a familiar name for your on-premises storage system.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serverConfiguration(Consumer<DiscoveryServerConfiguration.Builder> serverConfiguration) Specifies the server name and network port required to connect with your on-premises storage system's management interface.serverConfiguration(DiscoveryServerConfiguration serverConfiguration) Specifies the server name and network port required to connect with your on-premises storage system's management interface.storageSystemArn(String storageSystemArn) Specifies the ARN of the on-premises storage system that you want reconfigure.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
storageSystemArn
Specifies the ARN of the on-premises storage system that you want reconfigure.
- Parameters:
storageSystemArn- Specifies the ARN of the on-premises storage system that you want reconfigure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverConfiguration
UpdateStorageSystemRequest.Builder serverConfiguration(DiscoveryServerConfiguration serverConfiguration) Specifies the server name and network port required to connect with your on-premises storage system's management interface.
- Parameters:
serverConfiguration- Specifies the server name and network port required to connect with your on-premises storage system's management interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverConfiguration
default UpdateStorageSystemRequest.Builder serverConfiguration(Consumer<DiscoveryServerConfiguration.Builder> serverConfiguration) Specifies the server name and network port required to connect with your on-premises storage system's management interface.
This is a convenience method that creates an instance of theDiscoveryServerConfiguration.Builderavoiding the need to create one manually viaDiscoveryServerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverConfiguration(DiscoveryServerConfiguration).- Parameters:
serverConfiguration- a consumer that will call methods onDiscoveryServerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentArns
Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads your on-premises storage system. You can only specify one ARN.
- Parameters:
agentArns- Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads your on-premises storage system. You can only specify one ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentArns
Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads your on-premises storage system. You can only specify one ARN.
- Parameters:
agentArns- Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads your on-premises storage system. You can only specify one ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Specifies a familiar name for your on-premises storage system.
- Parameters:
name- Specifies a familiar name for your on-premises storage system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogGroupArn
Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.
- Parameters:
cloudWatchLogGroupArn- Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
Specifies the user name and password for accessing your on-premises storage system's management interface.
- Parameters:
credentials- Specifies the user name and password for accessing your on-premises storage system's management interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
Specifies the user name and password for accessing your on-premises storage system's management interface.
This is a convenience method that creates an instance of theCredentials.Builderavoiding the need to create one manually viaCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(Credentials).- Parameters:
credentials- a consumer that will call methods onCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateStorageSystemRequest.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
UpdateStorageSystemRequest.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.
-