Interface CreateWorkloadIdentityTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateWorkloadIdentityTemplateResponse.Builder,,CreateWorkloadIdentityTemplateResponse> IamResponse.Builder,SdkBuilder<CreateWorkloadIdentityTemplateResponse.Builder,,CreateWorkloadIdentityTemplateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateWorkloadIdentityTemplateResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe template's own Amazon Resource Name (ARN).attestationPolicy(String attestationPolicy) The attestation policy set by this call.createDate(Instant createDate) The date and time, in ISO 8601 date-time format, when the template was created.description(String description) The description of the template.The name of the template.pathPattern(String pathPattern) The pattern that workload identifiers are rendered from.pathPrefix(String pathPrefix) The namespace the pattern sits under.resourceScope(String resourceScope) The resolved scope, so you learn which scope applied even when you omitted the parameter.resourceScope(WorkloadIdentityResourceScopeType resourceScope) The resolved scope, so you learn which scope applied even when you omitted the parameter.tags(Collection<Tag> tags) The tags attached to the template.tags(Consumer<Tag.Builder>... tags) The tags attached to the template.The tags attached to the template.templateId(String templateId) The template's immutable identifier, which is distinct from its ARN.workloadIdentityProviderArn(String workloadIdentityProviderArn) The Amazon Resource Name (ARN) of the provider the template was created under.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
-
name
The name of the template. In template definition mode, the service renders it from the definition.
- Parameters:
name- The name of the template. In template definition mode, the service renders it from the definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateId
The template's immutable identifier, which is distinct from its ARN. IAM prefixes it with
AWTAfor an account-scoped template andAWTOfor an organization-scoped template. A template that is deleted and recreated under the same name keeps the ARN but gets a new identifier.- Parameters:
templateId- The template's immutable identifier, which is distinct from its ARN. IAM prefixes it withAWTAfor an account-scoped template andAWTOfor an organization-scoped template. A template that is deleted and recreated under the same name keeps the ARN but gets a new identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the template. Omitted when none was supplied.
- Parameters:
description- The description of the template. Omitted when none was supplied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceScope
The resolved scope, so you learn which scope applied even when you omitted the parameter.
- Parameters:
resourceScope- The resolved scope, so you learn which scope applied even when you omitted the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceScope
CreateWorkloadIdentityTemplateResponse.Builder resourceScope(WorkloadIdentityResourceScopeType resourceScope) The resolved scope, so you learn which scope applied even when you omitted the parameter.
- Parameters:
resourceScope- The resolved scope, so you learn which scope applied even when you omitted the parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arn
The template's own Amazon Resource Name (ARN).
Nameis its leaf. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.For an
ORGANIZATION-scoped template, the account segment of the ARN is the organization ID, for examplearn:aws:iam::o-abc123def4:workload-identity-template/PaymentsFleet.- Parameters:
arn- The template's own Amazon Resource Name (ARN).Nameis its leaf. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.For an
ORGANIZATION-scoped template, the account segment of the ARN is the organization ID, for examplearn:aws:iam::o-abc123def4:workload-identity-template/PaymentsFleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadIdentityProviderArn
CreateWorkloadIdentityTemplateResponse.Builder workloadIdentityProviderArn(String workloadIdentityProviderArn) The Amazon Resource Name (ARN) of the provider the template was created under. In template definition mode, the service renders it from the definition.
- Parameters:
workloadIdentityProviderArn- The Amazon Resource Name (ARN) of the provider the template was created under. In template definition mode, the service renders it from the definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathPrefix
The namespace the pattern sits under. Omitted when none was supplied.
- Parameters:
pathPrefix- The namespace the pattern sits under. Omitted when none was supplied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathPattern
The pattern that workload identifiers are rendered from.
- Parameters:
pathPattern- The pattern that workload identifiers are rendered from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attestationPolicy
The attestation policy set by this call. Echoed when a policy was set by this call, and omitted otherwise.
- Parameters:
attestationPolicy- The attestation policy set by this call. Echoed when a policy was set by this call, and omitted otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags attached to the template. Omitted when no tags were supplied. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
- Parameters:
tags- The tags attached to the template. Omitted when no tags were supplied. 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 template. Omitted when no tags were supplied. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
- Parameters:
tags- The tags attached to the template. Omitted when no tags were supplied. 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 template. Omitted when no tags were supplied. 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 template was created.
- Parameters:
createDate- The date and time, in ISO 8601 date-time format, when the template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-