Interface GetWorkloadIdentityTemplateResponse.Builder

  • Method Details

    • name

      The name of the template.

      Parameters:
      name - The name of the template.
      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 the template carries none.

      Parameters:
      description - The description of the template. Omitted when the template carries none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceScope

      The scope the template is stored at.

      Parameters:
      resourceScope - The scope the template is stored at.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceScope

      The scope the template is stored at.

      Parameters:
      resourceScope - The scope the template is stored at.
      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). 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). 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

      GetWorkloadIdentityTemplateResponse.Builder workloadIdentityProviderArn(String workloadIdentityProviderArn)

      The Amazon Resource Name (ARN) of the provider the template was created under.

      Parameters:
      workloadIdentityProviderArn - The Amazon Resource Name (ARN) of the provider the template was created under.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pathPrefix

      The namespace the pattern sits under. Omitted when the template carries none.

      Parameters:
      pathPrefix - The namespace the pattern sits under. Omitted when the template carries none.
      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.
    • tags

      The tags attached to the template. Omitted when the template carries none. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

      Parameters:
      tags - The tags attached to the template. Omitted when the template carries none. 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 the template carries none. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

      Parameters:
      tags - The tags attached to the template. Omitted when the template carries none. 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 the template carries none. 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.