Interface CreateWorkloadIdentityProviderRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkloadIdentityProviderRequest.Builder,,CreateWorkloadIdentityProviderRequest> IamRequest.Builder,SdkBuilder<CreateWorkloadIdentityProviderRequest.Builder,,CreateWorkloadIdentityProviderRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorkloadIdentityProviderRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the provider.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.providerName(String providerName) The friendly name of the provider to create.resourceScope(String resourceScope) The scope the provider is created at, which is fixed at creation.resourceScope(WorkloadIdentityProviderScopeType resourceScope) The scope the provider is created at, which is fixed at creation.The naming scheme of the identifiers minted under the provider.The naming scheme of the identifiers minted under the provider.tags(Collection<Tag> tags) A list of tags that you want to attach to the new provider.tags(Consumer<Tag.Builder>... tags) A list of tags that you want to attach to the new provider.A list of tags that you want to attach to the new provider.workloadIdentityDomain(String workloadIdentityDomain) The domain that roots the identifiers minted under the provider.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
providerName
The friendly name of the provider to create. The name must be unique within the collection the provider is created in, and it becomes the resource name segment of the provider's ARN.
- Parameters:
providerName- The friendly name of the provider to create. The name must be unique within the collection the provider is created in, and it becomes the resource name segment of the provider's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the provider. If you omit it, the provider carries no description and responses omit the
Descriptionelement.- Parameters:
description- A description of the provider. If you omit it, the provider carries no description and responses omit theDescriptionelement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheme
The naming scheme of the identifiers minted under the provider.
-
SPIFFE– Renders the identifier in the form defined by SPIFFE (Secure Production Identity Framework For Everyone), an open standard for workload identity, rooted at the provider'sWorkloadIdentityDomain. -
NONE– Renders the path alone, with neither thespiffe://prefix nor the domain.
- Parameters:
scheme- The naming scheme of the identifiers minted under the provider.-
SPIFFE– Renders the identifier in the form defined by SPIFFE (Secure Production Identity Framework For Everyone), an open standard for workload identity, rooted at the provider'sWorkloadIdentityDomain. -
NONE– Renders the path alone, with neither thespiffe://prefix nor the domain.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
scheme
The naming scheme of the identifiers minted under the provider.
-
SPIFFE– Renders the identifier in the form defined by SPIFFE (Secure Production Identity Framework For Everyone), an open standard for workload identity, rooted at the provider'sWorkloadIdentityDomain. -
NONE– Renders the path alone, with neither thespiffe://prefix nor the domain.
- Parameters:
scheme- The naming scheme of the identifiers minted under the provider.-
SPIFFE– Renders the identifier in the form defined by SPIFFE (Secure Production Identity Framework For Everyone), an open standard for workload identity, rooted at the provider'sWorkloadIdentityDomain. -
NONE– Renders the path alone, with neither thespiffe://prefix nor the domain.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
workloadIdentityDomain
The domain that roots the identifiers minted under the provider. Use lowercase characters only.
This parameter is required when
SchemeisSPIFFE, because the domain is the naming root rendered into every identifier. Do not include it whenSchemeisNONE.- Parameters:
workloadIdentityDomain- The domain that roots the identifiers minted under the provider. Use lowercase characters only.This parameter is required when
SchemeisSPIFFE, because the domain is the naming root rendered into every identifier. Do not include it whenSchemeisNONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceScope
The scope the provider is created at, which is fixed at creation.
ACCOUNTcreates the provider in your account andORGANIZATIONcreates it in your organization. If you do not include this parameter, it defaults toACCOUNT.- Parameters:
resourceScope- The scope the provider is created at, which is fixed at creation.ACCOUNTcreates the provider in your account andORGANIZATIONcreates it in your organization. If you do not include this parameter, it defaults toACCOUNT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceScope
CreateWorkloadIdentityProviderRequest.Builder resourceScope(WorkloadIdentityProviderScopeType resourceScope) The scope the provider is created at, which is fixed at creation.
ACCOUNTcreates the provider in your account andORGANIZATIONcreates it in your organization. If you do not include this parameter, it defaults toACCOUNT.- Parameters:
resourceScope- The scope the provider is created at, which is fixed at creation.ACCOUNTcreates the provider in your account andORGANIZATIONcreates it in your organization. If you do not include this parameter, it defaults toACCOUNT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected with
InvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide.If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
- Parameters:
tags- A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected withInvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide.If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected with
InvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide.If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
- Parameters:
tags- A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected withInvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide.If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected with
InvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide. This is a convenience method that creates an instance of theIf any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateWorkloadIdentityProviderRequest.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
CreateWorkloadIdentityProviderRequest.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.
-