Interface CreateGatewayTargetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<CreateGatewayTargetResponse.Builder,,CreateGatewayTargetResponse> SdkBuilder<CreateGatewayTargetResponse.Builder,,CreateGatewayTargetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateGatewayTargetResponse
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationData(Consumer<AuthorizationData.Builder> authorizationData) OAuth2 authorization data for the created gateway target.authorizationData(AuthorizationData authorizationData) OAuth2 authorization data for the created gateway target.The timestamp when the target was created.credentialProviderConfigurations(Collection<CredentialProviderConfiguration> credentialProviderConfigurations) The credential provider configurations for the target.credentialProviderConfigurations(Consumer<CredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The credential provider configurations for the target.credentialProviderConfigurations(CredentialProviderConfiguration... credentialProviderConfigurations) The credential provider configurations for the target.description(String description) The description of the target.gatewayArn(String gatewayArn) The Amazon Resource Name (ARN) of the gateway.lastSynchronizedAt(Instant lastSynchronizedAt) The last synchronization of the target.metadataConfiguration(Consumer<MetadataConfiguration.Builder> metadataConfiguration) The metadata configuration that was applied to the created gateway target.metadataConfiguration(MetadataConfiguration metadataConfiguration) The metadata configuration that was applied to the created gateway target.The name of the target.privateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The private endpoint configuration for the gateway target.privateEndpoint(PrivateEndpoint privateEndpoint) The private endpoint configuration for the gateway target.privateEndpointManagedResources(Collection<ManagedResourceDetails> privateEndpointManagedResources) The managed resources created by the gateway for private endpoint connectivity.privateEndpointManagedResources(Consumer<ManagedResourceDetails.Builder>... privateEndpointManagedResources) The managed resources created by the gateway for private endpoint connectivity.privateEndpointManagedResources(ManagedResourceDetails... privateEndpointManagedResources) The managed resources created by the gateway for private endpoint connectivity.The current status of the target.status(TargetStatus status) The current status of the target.statusReasons(String... statusReasons) The reasons for the current status of the target.statusReasons(Collection<String> statusReasons) The reasons for the current status of the target.targetConfiguration(Consumer<TargetConfiguration.Builder> targetConfiguration) The configuration settings for the target.targetConfiguration(TargetConfiguration targetConfiguration) The configuration settings for the target.The unique identifier of the created target.The timestamp when the target was last updated.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
gatewayArn
The Amazon Resource Name (ARN) of the gateway.
- Parameters:
gatewayArn- The Amazon Resource Name (ARN) of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetId
The unique identifier of the created target.
- Parameters:
targetId- The unique identifier of the created target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the target was created.
- Parameters:
createdAt- The timestamp when the target was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the target was last updated.
- Parameters:
updatedAt- The timestamp when the target was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the target.
- Parameters:
status- The current status of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the target.
- Parameters:
status- The current status of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReasons
The reasons for the current status of the target.
- Parameters:
statusReasons- The reasons for the current status of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
The reasons for the current status of the target.
- Parameters:
statusReasons- The reasons for the current status of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the target.
- Parameters:
name- The name of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the target.
- Parameters:
description- The description of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
The configuration settings for the target.
- Parameters:
targetConfiguration- The configuration settings for the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetConfiguration
default CreateGatewayTargetResponse.Builder targetConfiguration(Consumer<TargetConfiguration.Builder> targetConfiguration) The configuration settings for the target.
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
CreateGatewayTargetResponse.Builder credentialProviderConfigurations(Collection<CredentialProviderConfiguration> credentialProviderConfigurations) The credential provider configurations for the target.
- Parameters:
credentialProviderConfigurations- The credential provider configurations for the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
CreateGatewayTargetResponse.Builder credentialProviderConfigurations(CredentialProviderConfiguration... credentialProviderConfigurations) The credential provider configurations for the target.
- Parameters:
credentialProviderConfigurations- The credential provider configurations for the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
CreateGatewayTargetResponse.Builder credentialProviderConfigurations(Consumer<CredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The credential provider configurations for the target.
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 of the target.
- Parameters:
lastSynchronizedAt- The last synchronization of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataConfiguration
CreateGatewayTargetResponse.Builder metadataConfiguration(MetadataConfiguration metadataConfiguration) The metadata configuration that was applied to the created gateway target.
- Parameters:
metadataConfiguration- The metadata configuration that was applied to the created gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataConfiguration
default CreateGatewayTargetResponse.Builder metadataConfiguration(Consumer<MetadataConfiguration.Builder> metadataConfiguration) The metadata configuration that was applied to the created 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
The private endpoint configuration for the gateway target.
- Parameters:
privateEndpoint- The private endpoint configuration for the gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpoint
default CreateGatewayTargetResponse.Builder privateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The private endpoint configuration for the gateway target.
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
CreateGatewayTargetResponse.Builder privateEndpointManagedResources(Collection<ManagedResourceDetails> privateEndpointManagedResources) The managed resources created by the gateway for private endpoint connectivity.
- Parameters:
privateEndpointManagedResources- The managed resources created by the gateway for private endpoint connectivity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointManagedResources
CreateGatewayTargetResponse.Builder privateEndpointManagedResources(ManagedResourceDetails... privateEndpointManagedResources) The managed resources created by the gateway for private endpoint connectivity.
- Parameters:
privateEndpointManagedResources- The managed resources created by the gateway for private endpoint connectivity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointManagedResources
CreateGatewayTargetResponse.Builder privateEndpointManagedResources(Consumer<ManagedResourceDetails.Builder>... privateEndpointManagedResources) The managed resources created by the gateway for private endpoint connectivity.
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 created 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 created 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 CreateGatewayTargetResponse.Builder authorizationData(Consumer<AuthorizationData.Builder> authorizationData) OAuth2 authorization data for the created 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:
-