Class SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps>
- Enclosing interface:
SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps
@Stability(Experimental)
public static final class SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.creationTime(List<String> creationTime) eventMetadata(AWSEventMetadataProps eventMetadata) instanceType(List<String> instanceType) lastModifiedTime(List<String> lastModifiedTime) notebookInstanceArn(List<String> notebookInstanceArn) notebookInstanceLifecycleConfigName(List<String> notebookInstanceLifecycleConfigName) notebookInstanceName(List<String> notebookInstanceName) notebookInstanceStatus(List<String> notebookInstanceStatus) tags(List<? extends SageMakerNotebookInstanceStateChange.Tags> tags)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
creationTime
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder creationTime(List<String> creationTime) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getCreationTime()- Parameters:
creationTime- CreationTime property. Specify an array of string values to match this event if the actual value of CreationTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
instanceType
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder instanceType(List<String> instanceType) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getInstanceType()- Parameters:
instanceType- InstanceType property. Specify an array of string values to match this event if the actual value of InstanceType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
lastModifiedTime
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder lastModifiedTime(List<String> lastModifiedTime) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getLastModifiedTime()- Parameters:
lastModifiedTime- LastModifiedTime property. Specify an array of string values to match this event if the actual value of LastModifiedTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
notebookInstanceArn
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder notebookInstanceArn(List<String> notebookInstanceArn) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getNotebookInstanceArn()- Parameters:
notebookInstanceArn- NotebookInstanceArn property. Specify an array of string values to match this event if the actual value of NotebookInstanceArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
notebookInstanceLifecycleConfigName
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder notebookInstanceLifecycleConfigName(List<String> notebookInstanceLifecycleConfigName) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getNotebookInstanceLifecycleConfigName()- Parameters:
notebookInstanceLifecycleConfigName- NotebookInstanceLifecycleConfigName property. Specify an array of string values to match this event if the actual value of NotebookInstanceLifecycleConfigName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
notebookInstanceName
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder notebookInstanceName(List<String> notebookInstanceName) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getNotebookInstanceName()- Parameters:
notebookInstanceName- NotebookInstanceName property. Specify an array of string values to match this event if the actual value of NotebookInstanceName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
notebookInstanceStatus
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder notebookInstanceStatus(List<String> notebookInstanceStatus) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getNotebookInstanceStatus()- Parameters:
notebookInstanceStatus- NotebookInstanceStatus property. Specify an array of string values to match this event if the actual value of NotebookInstanceStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
roleArn
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder roleArn(List<String> roleArn) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getRoleArn()- Parameters:
roleArn- RoleArn property. Specify an array of string values to match this event if the actual value of RoleArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tags
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.Builder tags(List<? extends SageMakerNotebookInstanceStateChange.Tags> tags) Sets the value ofSageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps.getTags()- Parameters:
tags- Tags property. Specify an array of string values to match this event if the actual value of Tags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps>- Returns:
- a new instance of
SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-