Interface GatewayTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayTarget.Builder,,GatewayTarget> SdkBuilder<GatewayTarget.Builder,,GatewayTarget> SdkPojo
- Enclosing class:
GatewayTarget
-
Method Summary
Modifier and TypeMethodDescriptiondefault GatewayTarget.BuilderauthorizationData(Consumer<AuthorizationData.Builder> authorizationData) OAuth2 authorization data for the gateway target.authorizationData(AuthorizationData authorizationData) OAuth2 authorization data for the gateway target.The 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.default GatewayTarget.BuildermetadataConfiguration(Consumer<MetadataConfiguration.Builder> metadataConfiguration) The metadata configuration for HTTP header and query parameter propagation to and from this gateway target.metadataConfiguration(MetadataConfiguration metadataConfiguration) The metadata configuration for HTTP header and query parameter propagation to and from this gateway target.The name of the gateway target.default GatewayTarget.BuilderprivateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) Sets the value of the PrivateEndpoint property for this object.privateEndpoint(PrivateEndpoint privateEndpoint) Sets the value of the PrivateEndpoint property for this object.privateEndpointManagedResources(Collection<ManagedResourceDetails> privateEndpointManagedResources) A list of managed resources created by the gateway for private endpoint connectivity.privateEndpointManagedResources(Consumer<ManagedResourceDetails.Builder>... privateEndpointManagedResources) A list of managed resources created by the gateway for private endpoint connectivity.privateEndpointManagedResources(ManagedResourceDetails... privateEndpointManagedResources) A list of managed resources created by the gateway for private endpoint connectivity.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.BuildertargetConfiguration(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
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
-
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.Builderavoiding the need to create one manually viaTargetConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCredentialProviderConfiguration.builder().When the
Consumercompletes,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.
-
metadataConfiguration
The metadata configuration for HTTP header and query parameter propagation to and from this gateway target.
- Parameters:
metadataConfiguration- The metadata configuration for HTTP header and query parameter propagation to and from this gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataConfiguration
default GatewayTarget.Builder metadataConfiguration(Consumer<MetadataConfiguration.Builder> metadataConfiguration) The metadata configuration for HTTP header and query parameter propagation to and from this gateway target.
This is a convenience method that creates an instance of theMetadataConfiguration.Builderavoiding the need to create one manually viaMetadataConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataConfiguration(MetadataConfiguration).- Parameters:
metadataConfiguration- a consumer that will call methods onMetadataConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateEndpoint
Sets the value of the PrivateEndpoint property for this object.- Parameters:
privateEndpoint- The new value for the PrivateEndpoint property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpoint
Sets the value of the PrivateEndpoint property for this object. This is a convenience method that creates an instance of thePrivateEndpoint.Builderavoiding the need to create one manually viaPrivateEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateEndpoint(PrivateEndpoint).- Parameters:
privateEndpoint- a consumer that will call methods onPrivateEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateEndpointManagedResources
GatewayTarget.Builder privateEndpointManagedResources(Collection<ManagedResourceDetails> privateEndpointManagedResources) A list of managed resources created by the gateway for private endpoint connectivity. These resources are created in your account when you use a managed VPC Lattice resource configuration.
- Parameters:
privateEndpointManagedResources- A list of managed resources created by the gateway for private endpoint connectivity. These resources are created in your account when you use a managed VPC Lattice resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointManagedResources
GatewayTarget.Builder privateEndpointManagedResources(ManagedResourceDetails... privateEndpointManagedResources) A list of managed resources created by the gateway for private endpoint connectivity. These resources are created in your account when you use a managed VPC Lattice resource configuration.
- Parameters:
privateEndpointManagedResources- A list of managed resources created by the gateway for private endpoint connectivity. These resources are created in your account when you use a managed VPC Lattice resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointManagedResources
GatewayTarget.Builder privateEndpointManagedResources(Consumer<ManagedResourceDetails.Builder>... privateEndpointManagedResources) A list of managed resources created by the gateway for private endpoint connectivity. These resources are created in your account when you use a managed VPC Lattice resource configuration.
This is a convenience method that creates an instance of theManagedResourceDetails.Builderavoiding the need to create one manually viaManagedResourceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateEndpointManagedResources(List<ManagedResourceDetails>).- Parameters:
privateEndpointManagedResources- a consumer that will call methods onManagedResourceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationData
OAuth2 authorization data for the gateway target. This data is returned when a target is configured with a credential provider with authorization code grant type and requires user federation.
- Parameters:
authorizationData- OAuth2 authorization data for the gateway target. This data is returned when a target is configured with a credential provider with authorization code grant type and requires user federation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationData
default GatewayTarget.Builder authorizationData(Consumer<AuthorizationData.Builder> authorizationData) OAuth2 authorization data for the gateway target. This data is returned when a target is configured with a credential provider with authorization code grant type and requires user federation.
This is a convenience method that creates an instance of theAuthorizationData.Builderavoiding the need to create one manually viaAuthorizationData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizationData(AuthorizationData).- Parameters:
authorizationData- a consumer that will call methods onAuthorizationData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-