@Stability(value=Stable) public static final class CfnImageProps.Builder extends Object implements software.amazon.jsii.Builder<CfnImageProps>
CfnImageProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnImageProps |
build()
Builds the configured instance.
|
CfnImageProps.Builder |
imageDescription(String imageDescription)
Sets the value of
CfnImageProps.getImageDescription() |
CfnImageProps.Builder |
imageDisplayName(String imageDisplayName)
Sets the value of
CfnImageProps.getImageDisplayName() |
CfnImageProps.Builder |
imageName(String imageName)
Sets the value of
CfnImageProps.getImageName() |
CfnImageProps.Builder |
imageRoleArn(String imageRoleArn)
Sets the value of
CfnImageProps.getImageRoleArn() |
CfnImageProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnImageProps.getTags() |
@Stability(value=Stable) public CfnImageProps.Builder imageName(String imageName)
CfnImageProps.getImageName()imageName - The name of the Image. Must be unique by region in your account. This parameter is required.
Length Constraints : Minimum length of 1. Maximum length of 63.
Pattern : ^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$
this@Stability(value=Stable) public CfnImageProps.Builder imageRoleArn(String imageRoleArn)
CfnImageProps.getImageRoleArn()imageRoleArn - The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. This parameter is required.
Length Constraints : Minimum length of 20. Maximum length of 2048.
Pattern : ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
this@Stability(value=Stable) public CfnImageProps.Builder imageDescription(String imageDescription)
CfnImageProps.getImageDescription()imageDescription - The description of the image.
Length Constraints : Minimum length of 1. Maximum length of 512.
Pattern : .*
this@Stability(value=Stable) public CfnImageProps.Builder imageDisplayName(String imageDisplayName)
CfnImageProps.getImageDisplayName()imageDisplayName - The display name of the image.
Length Constraints : Minimum length of 1. Maximum length of 128.
Pattern : ^\S(.*\S)?$
this@Stability(value=Stable) public CfnImageProps.Builder tags(List<? extends CfnTag> tags)
CfnImageProps.getTags()tags - A list of key-value pairs to apply to this resource.
Array Members : Minimum number of 0 items. Maximum number of 50 items.this@Stability(value=Stable) public CfnImageProps build()
build in interface software.amazon.jsii.Builder<CfnImageProps>CfnImagePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.