Interface CreateWorkloadIdentityProviderResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateWorkloadIdentityProviderResponse.Builder,,CreateWorkloadIdentityProviderResponse> IamResponse.Builder,SdkBuilder<CreateWorkloadIdentityProviderResponse.Builder,,CreateWorkloadIdentityProviderResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateWorkloadIdentityProviderResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) specifying the provider, for examplearn:aws:iam::111122223333:workload-identity-provider/PaymentsProd.createDate(Instant createDate) The date and time, in ISO 8601 date-time format, when the provider was created.description(String description) The description of the provider.outboundSigners(Consumer<WorkloadIdentityOutboundSigners.Builder> outboundSigners) The provider's outbound signing material.outboundSigners(WorkloadIdentityOutboundSigners outboundSigners) The provider's outbound signing material.providerId(String providerId) The unique identifier of the provider, which does not change for the life of the provider.providerName(String providerName) The friendly name of the provider, as supplied on the request.resourceScope(String resourceScope) The resolved scope of the provider, soACCOUNTis reported when the request omitted it.resourceScope(WorkloadIdentityProviderScopeType resourceScope) The resolved scope of the provider, soACCOUNTis reported when the request omitted it.The naming scheme of the provider.The naming scheme of the provider.tags(Collection<Tag> tags) The tags attached to the provider.tags(Consumer<Tag.Builder>... tags) The tags attached to the provider.The tags attached to the provider.workloadIdentityDomain(String workloadIdentityDomain) The domain that roots the identifiers minted under the provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
arn
The Amazon Resource Name (ARN) specifying the provider, for example
arn:aws:iam::111122223333:workload-identity-provider/PaymentsProd. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.- Parameters:
arn- The Amazon Resource Name (ARN) specifying the provider, for examplearn:aws:iam::111122223333:workload-identity-provider/PaymentsProd. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceScope
The resolved scope of the provider, so
ACCOUNTis reported when the request omitted it.- Parameters:
resourceScope- The resolved scope of the provider, soACCOUNTis reported when the request omitted it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceScope
CreateWorkloadIdentityProviderResponse.Builder resourceScope(WorkloadIdentityProviderScopeType resourceScope) The resolved scope of the provider, so
ACCOUNTis reported when the request omitted it.- Parameters:
resourceScope- The resolved scope of the provider, soACCOUNTis reported when the request omitted it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerName
The friendly name of the provider, as supplied on the request.
- Parameters:
providerName- The friendly name of the provider, as supplied on the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerId
The unique identifier of the provider, which does not change for the life of the provider. IAM prefixes it with
AWPAfor an account-scoped provider andAWPOfor an organization-scoped provider.- Parameters:
providerId- The unique identifier of the provider, which does not change for the life of the provider. IAM prefixes it withAWPAfor an account-scoped provider andAWPOfor an organization-scoped provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the provider. Present only when the provider carries one.
- Parameters:
description- The description of the provider. Present only when the provider carries one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheme
The naming scheme of the provider.
SPIFFEroots every identifier at the provider's domain, andNONErenders the path alone.- Parameters:
scheme- The naming scheme of the provider.SPIFFEroots every identifier at the provider's domain, andNONErenders the path alone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheme
The naming scheme of the provider.
SPIFFEroots every identifier at the provider's domain, andNONErenders the path alone.- Parameters:
scheme- The naming scheme of the provider.SPIFFEroots every identifier at the provider's domain, andNONErenders the path alone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workloadIdentityDomain
CreateWorkloadIdentityProviderResponse.Builder workloadIdentityDomain(String workloadIdentityDomain) The domain that roots the identifiers minted under the provider. Present only when a domain is claimed.
- Parameters:
workloadIdentityDomain- The domain that roots the identifiers minted under the provider. Present only when a domain is claimed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundSigners
CreateWorkloadIdentityProviderResponse.Builder outboundSigners(WorkloadIdentityOutboundSigners outboundSigners) The provider's outbound signing material. On a create this carries the JWT signers only, one for each supported signing algorithm, plus the publishing endpoints. The
X509list is empty, because you attach a certificate authority after the provider exists. Present only when the provider holds signing material.- Parameters:
outboundSigners- The provider's outbound signing material. On a create this carries the JWT signers only, one for each supported signing algorithm, plus the publishing endpoints. TheX509list is empty, because you attach a certificate authority after the provider exists. Present only when the provider holds signing material.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundSigners
default CreateWorkloadIdentityProviderResponse.Builder outboundSigners(Consumer<WorkloadIdentityOutboundSigners.Builder> outboundSigners) The provider's outbound signing material. On a create this carries the JWT signers only, one for each supported signing algorithm, plus the publishing endpoints. The
This is a convenience method that creates an instance of theX509list is empty, because you attach a certificate authority after the provider exists. Present only when the provider holds signing material.WorkloadIdentityOutboundSigners.Builderavoiding the need to create one manually viaWorkloadIdentityOutboundSigners.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutboundSigners(WorkloadIdentityOutboundSigners).- Parameters:
outboundSigners- a consumer that will call methods onWorkloadIdentityOutboundSigners.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags attached to the provider. Present only when the provider carries tags. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
- Parameters:
tags- The tags attached to the provider. Present only when the provider carries tags. For more information about tagging, see Tagging IAM resources in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags attached to the provider. Present only when the provider carries tags. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
- Parameters:
tags- The tags attached to the provider. Present only when the provider carries tags. For more information about tagging, see Tagging IAM resources in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags attached to the provider. Present only when the provider carries tags. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
This is a convenience method that creates an instance of theTag.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:
-
createDate
The date and time, in ISO 8601 date-time format, when the provider was created.
- Parameters:
createDate- The date and time, in ISO 8601 date-time format, when the provider was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-