Class EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps>
- Enclosing interface:
EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps
@Stability(Experimental)
public static final class EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.creationTime(List<String> creationTime) endpointConfigArn(List<String> endpointConfigArn) endpointConfigName(List<String> endpointConfigName) eventMetadata(AWSEventMetadataProps eventMetadata) productionVariants(List<? extends EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem> productionVariants) tags(List<? extends EndpointConfigEvents.SageMakerEndpointConfigStateChange.Tags> tags)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
creationTime
@Stability(Experimental) public EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.Builder creationTime(List<String> creationTime) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.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
-
endpointConfigArn
@Stability(Experimental) public EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.Builder endpointConfigArn(List<String> endpointConfigArn) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.getEndpointConfigArn()- Parameters:
endpointConfigArn- EndpointConfigArn property. Specify an array of string values to match this event if the actual value of EndpointConfigArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
endpointConfigName
@Stability(Experimental) public EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.Builder endpointConfigName(List<String> endpointConfigName) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.getEndpointConfigName()- Parameters:
endpointConfigName- EndpointConfigName property. Specify an array of string values to match this event if the actual value of EndpointConfigName 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 EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
productionVariants
@Stability(Experimental) public EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.Builder productionVariants(List<? extends EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem> productionVariants) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.getProductionVariants()- Parameters:
productionVariants- ProductionVariants property. Specify an array of string values to match this event if the actual value of ProductionVariants 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 EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.Builder tags(List<? extends EndpointConfigEvents.SageMakerEndpointConfigStateChange.Tags> tags) Sets the value ofEndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps.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 EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps>- Returns:
- a new instance of
EndpointConfigEvents.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-