Interface CreateMonitoringScheduleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMonitoringScheduleRequest.Builder,,CreateMonitoringScheduleRequest> SageMakerRequest.Builder,SdkBuilder<CreateMonitoringScheduleRequest.Builder,,CreateMonitoringScheduleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateMonitoringScheduleRequest
-
Method Summary
Modifier and TypeMethodDescriptionmonitoringScheduleConfig(Consumer<MonitoringScheduleConfig.Builder> monitoringScheduleConfig) The configuration object that specifies the monitoring schedule and defines the monitoring job.monitoringScheduleConfig(MonitoringScheduleConfig monitoringScheduleConfig) The configuration object that specifies the monitoring schedule and defines the monitoring job.monitoringScheduleName(String monitoringScheduleName) The name of the monitoring schedule.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) (Optional) An array of key-value pairs.tags(Consumer<Tag.Builder>... tags) (Optional) An array of key-value pairs.(Optional) An array of key-value pairs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
monitoringScheduleName
The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account.
- Parameters:
monitoringScheduleName- The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringScheduleConfig
CreateMonitoringScheduleRequest.Builder monitoringScheduleConfig(MonitoringScheduleConfig monitoringScheduleConfig) The configuration object that specifies the monitoring schedule and defines the monitoring job.
- Parameters:
monitoringScheduleConfig- The configuration object that specifies the monitoring schedule and defines the monitoring job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringScheduleConfig
default CreateMonitoringScheduleRequest.Builder monitoringScheduleConfig(Consumer<MonitoringScheduleConfig.Builder> monitoringScheduleConfig) The configuration object that specifies the monitoring schedule and defines the monitoring job.
This is a convenience method that creates an instance of theMonitoringScheduleConfig.Builderavoiding the need to create one manually viaMonitoringScheduleConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonitoringScheduleConfig(MonitoringScheduleConfig).- Parameters:
monitoringScheduleConfig- a consumer that will call methods onMonitoringScheduleConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
- Parameters:
tags- (Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
- Parameters:
tags- (Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
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 totags(List<Tag>).- 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:
-
overrideConfiguration
CreateMonitoringScheduleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateMonitoringScheduleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-