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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaMonitoringScheduleConfig.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-