Interface CreateImageRequest.Builder

    • Method Detail

      • description

        CreateImageRequest.Builder description​(String description)

        The description of the image.

        Parameters:
        description - The description of the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayName

        CreateImageRequest.Builder displayName​(String displayName)

        The display name of the image. If not provided, ImageName is displayed.

        Parameters:
        displayName - The display name of the image. If not provided, ImageName is displayed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageName

        CreateImageRequest.Builder imageName​(String imageName)

        The name of the image. Must be unique to your account.

        Parameters:
        imageName - The name of the image. Must be unique to your account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        CreateImageRequest.Builder roleArn​(String roleArn)

        The ARN of an IAM role that enables Amazon SageMaker AI to perform tasks on your behalf.

        Parameters:
        roleArn - The ARN of an IAM role that enables Amazon SageMaker AI to perform tasks on your behalf.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateImageRequest.Builder tags​(Collection<Tag> tags)

        A list of tags to apply to the image.

        Parameters:
        tags - A list of tags to apply to the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateImageRequest.Builder tags​(Tag... tags)

        A list of tags to apply to the image.

        Parameters:
        tags - A list of tags to apply to the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateImageRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of tags to apply to the image.

        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).

        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:
        #tags(java.util.Collection)