Interface AgentCoreRuntimeSourceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentCoreRuntimeSourceDetails.Builder,,AgentCoreRuntimeSourceDetails> SdkBuilder<AgentCoreRuntimeSourceDetails.Builder,,AgentCoreRuntimeSourceDetails> SdkPojo
- Enclosing class:
AgentCoreRuntimeSourceDetails
-
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.protocolConfiguration(Consumer<AgentCoreRuntimeProtocolConfiguration.Builder> protocolConfiguration) The protocol configuration of the AgentCore Runtime resource that the registry record was detected from.protocolConfiguration(AgentCoreRuntimeProtocolConfiguration protocolConfiguration) The protocol configuration of the AgentCore Runtime resource that the registry record was detected from.workloadIdentityDetails(Consumer<WorkloadIdentityDetails.Builder> workloadIdentityDetails) The workload identity details for the AgentCore Runtime resource.workloadIdentityDetails(WorkloadIdentityDetails workloadIdentityDetails) The workload identity details for the AgentCore Runtime 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
-
protocolConfiguration
AgentCoreRuntimeSourceDetails.Builder protocolConfiguration(AgentCoreRuntimeProtocolConfiguration protocolConfiguration) The protocol configuration of the AgentCore Runtime resource that the registry record was detected from.
- Parameters:
protocolConfiguration- The protocol configuration of the AgentCore Runtime resource that the registry record was detected from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolConfiguration
default AgentCoreRuntimeSourceDetails.Builder protocolConfiguration(Consumer<AgentCoreRuntimeProtocolConfiguration.Builder> protocolConfiguration) The protocol configuration of the AgentCore Runtime resource that the registry record was detected from.
This is a convenience method that creates an instance of theAgentCoreRuntimeProtocolConfiguration.Builderavoiding the need to create one manually viaAgentCoreRuntimeProtocolConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprotocolConfiguration(AgentCoreRuntimeProtocolConfiguration).- Parameters:
protocolConfiguration- a consumer that will call methods onAgentCoreRuntimeProtocolConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizerConfiguration
AgentCoreRuntimeSourceDetails.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 AgentCoreRuntimeSourceDetails.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
AgentCoreRuntimeSourceDetails.Builder workloadIdentityDetails(WorkloadIdentityDetails workloadIdentityDetails) The workload identity details for the AgentCore Runtime resource. Present when the runtime has a workload identity configured.
- Parameters:
workloadIdentityDetails- The workload identity details for the AgentCore Runtime resource. Present when the runtime has a workload identity configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadIdentityDetails
default AgentCoreRuntimeSourceDetails.Builder workloadIdentityDetails(Consumer<WorkloadIdentityDetails.Builder> workloadIdentityDetails) The workload identity details for the AgentCore Runtime resource. Present when the runtime 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:
-