Interface AwsIamInstanceProfile.Builder

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

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

    • arn

      The ARN of the instance profile.

      Parameters:
      arn - The ARN of the instance profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createDate

      AwsIamInstanceProfile.Builder createDate(String createDate)

      Indicates when the instance profile 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:
      createDate - Indicates when the instance profile 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.
    • instanceProfileId

      AwsIamInstanceProfile.Builder instanceProfileId(String instanceProfileId)

      The identifier of the instance profile.

      Parameters:
      instanceProfileId - The identifier of the instance profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceProfileName

      AwsIamInstanceProfile.Builder instanceProfileName(String instanceProfileName)

      The name of the instance profile.

      Parameters:
      instanceProfileName - The name of the instance profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • path

      The path to the instance profile.

      Parameters:
      path - The path to the instance profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roles

      The roles associated with the instance profile.

      Parameters:
      roles - The roles associated with the instance profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roles

      The roles associated with the instance profile.

      Parameters:
      roles - The roles associated with the instance profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roles

      The roles associated with the instance profile.

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

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

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