Interface AwsIamInstanceProfile.Builder

    • Method Detail

      • arn

        AwsIamInstanceProfile.Builder arn​(String 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.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        createDate - Indicates when the instance profile was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        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

        AwsIamInstanceProfile.Builder path​(String 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

        AwsIamInstanceProfile.Builder roles​(AwsIamInstanceProfileRole... 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.