Interface CreateImageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateImageRequest.Builder,CreateImageRequest>,SageMakerRequest.Builder,SdkBuilder<CreateImageRequest.Builder,CreateImageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateImageRequest
public static interface CreateImageRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateImageRequest.Builder,CreateImageRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateImageRequest.Builderdescription(String description)The description of the image.CreateImageRequest.BuilderdisplayName(String displayName)The display name of the image.CreateImageRequest.BuilderimageName(String imageName)The name of the image.CreateImageRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateImageRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateImageRequest.BuilderroleArn(String roleArn)The ARN of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.CreateImageRequest.Buildertags(Collection<Tag> tags)A list of tags to apply to the image.CreateImageRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to apply to the image.CreateImageRequest.Buildertags(Tag... tags)A list of tags to apply to the image.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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,
ImageNameis displayed.- Parameters:
displayName- The display name of the image. If not provided,ImageNameis 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 to perform tasks on your behalf.
- Parameters:
roleArn- The ARN of an IAM role that enables Amazon SageMaker 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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-