Interface AgentCoreGatewaySourceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentCoreGatewaySourceDetails.Builder,,AgentCoreGatewaySourceDetails> SdkBuilder<AgentCoreGatewaySourceDetails.Builder,,AgentCoreGatewaySourceDetails> SdkPojo
- Enclosing class:
AgentCoreGatewaySourceDetails
-
Method Summary
Modifier and TypeMethodDescriptionauthorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) Sets the value of the AuthorizerConfiguration property for this object.authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) Sets the value of the AuthorizerConfiguration property for this object.authorizerType(String authorizerType) The type of authorizer configured on the AgentCore Gateway resource that the registry record was detected from.protocolType(String protocolType) The protocol type of the AgentCore Gateway resource that the registry record was detected from, for exampleMCP.protocolType(AgentCoreGatewayProtocolType protocolType) The protocol type of the AgentCore Gateway resource that the registry record was detected from, for exampleMCP.workloadIdentityDetails(Consumer<WorkloadIdentityDetails.Builder> workloadIdentityDetails) The workload identity details for the AgentCore Gateway resource.workloadIdentityDetails(WorkloadIdentityDetails workloadIdentityDetails) The workload identity details for the AgentCore Gateway resource.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
-
protocolType
The protocol type of the AgentCore Gateway resource that the registry record was detected from, for example
MCP.- Parameters:
protocolType- The protocol type of the AgentCore Gateway resource that the registry record was detected from, for exampleMCP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocolType
The protocol type of the AgentCore Gateway resource that the registry record was detected from, for example
MCP.- Parameters:
protocolType- The protocol type of the AgentCore Gateway resource that the registry record was detected from, for exampleMCP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizerType
The type of authorizer configured on the AgentCore Gateway resource that the registry record was detected from.
- Parameters:
authorizerType- The type of authorizer configured on the AgentCore Gateway resource that the registry record was detected from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfiguration
AgentCoreGatewaySourceDetails.Builder authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) Sets the value of the AuthorizerConfiguration property for this object.- Parameters:
authorizerConfiguration- The new value for the AuthorizerConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfiguration
default AgentCoreGatewaySourceDetails.Builder authorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) Sets the value of the AuthorizerConfiguration property for this object. This is a convenience method that creates an instance of theAuthorizerConfiguration.Builderavoiding the need to create one manually viaAuthorizerConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizerConfiguration(AuthorizerConfiguration).- Parameters:
authorizerConfiguration- a consumer that will call methods onAuthorizerConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workloadIdentityDetails
AgentCoreGatewaySourceDetails.Builder workloadIdentityDetails(WorkloadIdentityDetails workloadIdentityDetails) The workload identity details for the AgentCore Gateway resource. Present when the gateway has a workload identity configured.
- Parameters:
workloadIdentityDetails- The workload identity details for the AgentCore Gateway resource. Present when the gateway has a workload identity configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadIdentityDetails
default AgentCoreGatewaySourceDetails.Builder workloadIdentityDetails(Consumer<WorkloadIdentityDetails.Builder> workloadIdentityDetails) The workload identity details for the AgentCore Gateway resource. Present when the gateway has a workload identity configured.
This is a convenience method that creates an instance of theWorkloadIdentityDetails.Builderavoiding the need to create one manually viaWorkloadIdentityDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkloadIdentityDetails(WorkloadIdentityDetails).- Parameters:
workloadIdentityDetails- a consumer that will call methods onWorkloadIdentityDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-