Interface CreateWorkloadIdentityTemplateResponse.Builder

  • 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 AWTA for an account-scoped template and AWTO for 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 with AWTA for an account-scoped template and AWTO for 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

      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). Name is 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 example arn:aws:iam::o-abc123def4:workload-identity-template/PaymentsFleet.

      Parameters:
      arn - The template's own Amazon Resource Name (ARN). Name is 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 example arn: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

      CreateWorkloadIdentityTemplateResponse.Builder attestationPolicy(String 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.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.