Interface CreateWorkloadIdentityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<CreateWorkloadIdentityRequest.Builder,,CreateWorkloadIdentityRequest> SdkBuilder<CreateWorkloadIdentityRequest.Builder,,CreateWorkloadIdentityRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorkloadIdentityRequest
@Mutable
@NotThreadSafe
public static interface CreateWorkloadIdentityRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkloadIdentityRequest.Builder,CreateWorkloadIdentityRequest>
-
Method Summary
Modifier and TypeMethodDescriptionallowedResourceOauth2ReturnUrls(String... allowedResourceOauth2ReturnUrls) The list of allowed OAuth2 return URLs for resources associated with this workload identity.allowedResourceOauth2ReturnUrls(Collection<String> allowedResourceOauth2ReturnUrls) The list of allowed OAuth2 return URLs for resources associated with this workload identity.The name of the workload identity.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A map of tag keys and values to assign to the workload identity.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods 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
-
name
The name of the workload identity. The name must be unique within your account.
- Parameters:
name- The name of the workload identity. The name must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedResourceOauth2ReturnUrls
CreateWorkloadIdentityRequest.Builder allowedResourceOauth2ReturnUrls(Collection<String> allowedResourceOauth2ReturnUrls) The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- Parameters:
allowedResourceOauth2ReturnUrls- The list of allowed OAuth2 return URLs for resources associated with this workload identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedResourceOauth2ReturnUrls
CreateWorkloadIdentityRequest.Builder allowedResourceOauth2ReturnUrls(String... allowedResourceOauth2ReturnUrls) The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- Parameters:
allowedResourceOauth2ReturnUrls- The list of allowed OAuth2 return URLs for resources associated with this workload identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of tag keys and values to assign to the workload identity. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
- Parameters:
tags- A map of tag keys and values to assign to the workload identity. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWorkloadIdentityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWorkloadIdentityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-