public static interface CreateImageRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateImageRequest.Builder,CreateImageRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateImageRequest.Builder |
description(String description)
The description of the image.
|
CreateImageRequest.Builder |
displayName(String displayName)
The display name of the image.
|
CreateImageRequest.Builder |
imageName(String imageName)
The name of the image.
|
CreateImageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateImageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateImageRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
CreateImageRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to apply to the image.
|
CreateImageRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to apply to the image.
|
CreateImageRequest.Builder |
tags(Tag... tags)
A list of tags to apply to the image.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateImageRequest.Builder description(String description)
The description of the image.
description - The description of the image.CreateImageRequest.Builder displayName(String displayName)
The display name of the image. If not provided, ImageName is displayed.
displayName - The display name of the image. If not provided, ImageName is displayed.CreateImageRequest.Builder imageName(String imageName)
The name of the image. Must be unique to your account.
imageName - The name of the image. Must be unique to your account.CreateImageRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
roleArn - The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your
behalf.CreateImageRequest.Builder tags(Collection<Tag> tags)
A list of tags to apply to the image.
tags - A list of tags to apply to the image.CreateImageRequest.Builder tags(Tag... tags)
A list of tags to apply to the image.
tags - A list of tags to apply to the image.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 theTag.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.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.