Class DirectDeploySettings
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.DirectDeploySettings
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DirectDeploySettings.Builder,DirectDeploySettings>
@Generated("software.amazon.awssdk:codegen") public final class DirectDeploySettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DirectDeploySettings.Builder,DirectDeploySettings>
The model deployment settings for the SageMaker Canvas application.
In order to enable model deployment for Canvas, the SageMaker Domain's or user profile's Amazon Web Services IAM execution role must have the
AmazonSageMakerCanvasDirectDeployAccess
policy attached. You can also turn on model deployment permissions through the SageMaker Domain's or user profile's settings in the SageMaker console.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DirectDeploySettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DirectDeploySettings.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends DirectDeploySettings.Builder>
serializableBuilderClass()
FeatureStatus
status()
Describes whether model deployment permissions are enabled or disabled in the Canvas application.String
statusAsString()
Describes whether model deployment permissions are enabled or disabled in the Canvas application.DirectDeploySettings.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
status
public final FeatureStatus status()
Describes whether model deployment permissions are enabled or disabled in the Canvas application.
If the service returns an enum value that is not available in the current SDK version,
status
will returnFeatureStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Describes whether model deployment permissions are enabled or disabled in the Canvas application.
- See Also:
FeatureStatus
-
statusAsString
public final String statusAsString()
Describes whether model deployment permissions are enabled or disabled in the Canvas application.
If the service returns an enum value that is not available in the current SDK version,
status
will returnFeatureStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Describes whether model deployment permissions are enabled or disabled in the Canvas application.
- See Also:
FeatureStatus
-
toBuilder
public DirectDeploySettings.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DirectDeploySettings.Builder,DirectDeploySettings>
-
builder
public static DirectDeploySettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends DirectDeploySettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-