Interface AwsIamAccessKeyDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsIamAccessKeyDetails.Builder,AwsIamAccessKeyDetails>, SdkBuilder<AwsIamAccessKeyDetails.Builder,AwsIamAccessKeyDetails>, SdkPojo
Enclosing class:
AwsIamAccessKeyDetails

public static interface AwsIamAccessKeyDetails.Builder extends SdkPojo, CopyableBuilder<AwsIamAccessKeyDetails.Builder,AwsIamAccessKeyDetails>
  • Method Details

    • userName

      Deprecated.
      This filter is deprecated. Instead, use PrincipalName.

      The user associated with the IAM access key related to a finding.

      The UserName parameter has been replaced with the PrincipalName parameter because access keys can also be assigned to principals that are not IAM users.

      Parameters:
      userName - The user associated with the IAM access key related to a finding.

      The UserName parameter has been replaced with the PrincipalName parameter because access keys can also be assigned to principals that are not IAM users.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the IAM access key related to a finding.

      Parameters:
      status - The status of the IAM access key related to a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the IAM access key related to a finding.

      Parameters:
      status - The status of the IAM access key related to a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      AwsIamAccessKeyDetails.Builder createdAt(String createdAt)

      Indicates when the IAM access key was created.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Parameters:
      createdAt - Indicates when the IAM access key was created.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principalId

      AwsIamAccessKeyDetails.Builder principalId(String principalId)

      The ID of the principal associated with an access key.

      Parameters:
      principalId - The ID of the principal associated with an access key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principalType

      AwsIamAccessKeyDetails.Builder principalType(String principalType)

      The type of principal associated with an access key.

      Parameters:
      principalType - The type of principal associated with an access key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principalName

      AwsIamAccessKeyDetails.Builder principalName(String principalName)

      The name of the principal.

      Parameters:
      principalName - The name of the principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      AwsIamAccessKeyDetails.Builder accountId(String accountId)

      The Amazon Web Services account ID of the account for the key.

      Parameters:
      accountId - The Amazon Web Services account ID of the account for the key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessKeyId

      AwsIamAccessKeyDetails.Builder accessKeyId(String accessKeyId)

      The identifier of the access key.

      Parameters:
      accessKeyId - The identifier of the access key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionContext

      Information about the session that the key was used for.

      Parameters:
      sessionContext - Information about the session that the key was used for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionContext

      Information about the session that the key was used for.

      This is a convenience method that creates an instance of the AwsIamAccessKeySessionContext.Builder avoiding the need to create one manually via AwsIamAccessKeySessionContext.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sessionContext(AwsIamAccessKeySessionContext).

      Parameters:
      sessionContext - a consumer that will call methods on AwsIamAccessKeySessionContext.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: