Interface GatewayTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GatewayTarget.Builder,
,GatewayTarget> SdkBuilder<GatewayTarget.Builder,
,GatewayTarget> SdkPojo
- Enclosing class:
GatewayTarget
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time at which the target was created.credentialProviderConfigurations
(Collection<CredentialProviderConfiguration> credentialProviderConfigurations) The provider configurations.credentialProviderConfigurations
(Consumer<CredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The provider configurations.credentialProviderConfigurations
(CredentialProviderConfiguration... credentialProviderConfigurations) The provider configurations.description
(String description) The description for the gateway target.gatewayArn
(String gatewayArn) The Amazon Resource Name (ARN) of the gateway target.lastSynchronizedAt
(Instant lastSynchronizedAt) The last synchronization time.The name of the gateway target.The status of the gateway target.status
(TargetStatus status) The status of the gateway target.statusReasons
(String... statusReasons) The status reasons for the target status.statusReasons
(Collection<String> statusReasons) The status reasons for the target status.default GatewayTarget.Builder
targetConfiguration
(Consumer<TargetConfiguration.Builder> targetConfiguration) Sets the value of the TargetConfiguration property for this object.targetConfiguration
(TargetConfiguration targetConfiguration) Sets the value of the TargetConfiguration property for this object.The target ID.The date and time at which the target was updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
gatewayArn
The Amazon Resource Name (ARN) of the gateway target.
- Parameters:
gatewayArn
- The Amazon Resource Name (ARN) of the gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetId
The target ID.
- Parameters:
targetId
- The target ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time at which the target was created.
- Parameters:
createdAt
- The date and time at which the target was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time at which the target was updated.
- Parameters:
updatedAt
- The date and time at which the target was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the gateway target.
- Parameters:
status
- The status of the gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the gateway target.
- Parameters:
status
- The status of the gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReasons
The status reasons for the target status.
- Parameters:
statusReasons
- The status reasons for the target status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
The status reasons for the target status.
- Parameters:
statusReasons
- The status reasons for the target status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the gateway target.
- Parameters:
name
- The name of the gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the gateway target.
- Parameters:
description
- The description for the gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
Sets the value of the TargetConfiguration property for this object.- Parameters:
targetConfiguration
- The new value for the TargetConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
default GatewayTarget.Builder targetConfiguration(Consumer<TargetConfiguration.Builder> targetConfiguration) Sets the value of the TargetConfiguration property for this object. This is a convenience method that creates an instance of theTargetConfiguration.Builder
avoiding the need to create one manually viaTargetConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetConfiguration(TargetConfiguration)
.- Parameters:
targetConfiguration
- a consumer that will call methods onTargetConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
credentialProviderConfigurations
GatewayTarget.Builder credentialProviderConfigurations(Collection<CredentialProviderConfiguration> credentialProviderConfigurations) The provider configurations.
- Parameters:
credentialProviderConfigurations
- The provider configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
GatewayTarget.Builder credentialProviderConfigurations(CredentialProviderConfiguration... credentialProviderConfigurations) The provider configurations.
- Parameters:
credentialProviderConfigurations
- The provider configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
GatewayTarget.Builder credentialProviderConfigurations(Consumer<CredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The provider configurations.
This is a convenience method that creates an instance of theCredentialProviderConfiguration.Builder
avoiding the need to create one manually viaCredentialProviderConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentialProviderConfigurations(List<CredentialProviderConfiguration>)
.- Parameters:
credentialProviderConfigurations
- a consumer that will call methods onCredentialProviderConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastSynchronizedAt
The last synchronization time.
- Parameters:
lastSynchronizedAt
- The last synchronization time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-