Interface CreateHoursOfOperationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreateHoursOfOperationRequest.Builder,CreateHoursOfOperationRequest>,SdkBuilder<CreateHoursOfOperationRequest.Builder,CreateHoursOfOperationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateHoursOfOperationRequest
public static interface CreateHoursOfOperationRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateHoursOfOperationRequest.Builder,CreateHoursOfOperationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateHoursOfOperationRequest.Builderconfig(Collection<HoursOfOperationConfig> config)Configuration information for the hours of operation: day, start time, and end time.CreateHoursOfOperationRequest.Builderconfig(Consumer<HoursOfOperationConfig.Builder>... config)Configuration information for the hours of operation: day, start time, and end time.CreateHoursOfOperationRequest.Builderconfig(HoursOfOperationConfig... config)Configuration information for the hours of operation: day, start time, and end time.CreateHoursOfOperationRequest.Builderdescription(String description)The description of the hours of operation.CreateHoursOfOperationRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.CreateHoursOfOperationRequest.Buildername(String name)The name of the hours of operation.CreateHoursOfOperationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateHoursOfOperationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateHoursOfOperationRequest.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.CreateHoursOfOperationRequest.BuildertimeZone(String timeZone)The time zone of the hours of operation.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceId
CreateHoursOfOperationRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateHoursOfOperationRequest.Builder name(String name)
The name of the hours of operation.
- Parameters:
name- The name of the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateHoursOfOperationRequest.Builder description(String description)
The description of the hours of operation.
- Parameters:
description- The description of the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeZone
CreateHoursOfOperationRequest.Builder timeZone(String timeZone)
The time zone of the hours of operation.
- Parameters:
timeZone- The time zone of the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
CreateHoursOfOperationRequest.Builder config(Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation: day, start time, and end time.
- Parameters:
config- Configuration information for the hours of operation: day, start time, and end time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
CreateHoursOfOperationRequest.Builder config(HoursOfOperationConfig... config)
Configuration information for the hours of operation: day, start time, and end time.
- Parameters:
config- Configuration information for the hours of operation: day, start time, and end time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
CreateHoursOfOperationRequest.Builder config(Consumer<HoursOfOperationConfig.Builder>... config)
Configuration information for the hours of operation: day, start time, and end time.
This is a convenience method that creates an instance of theHoursOfOperationConfig.Builderavoiding the need to create one manually viaHoursOfOperationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#config(List.) - Parameters:
config- a consumer that will call methods onHoursOfOperationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#config(java.util.Collection)
-
tags
CreateHoursOfOperationRequest.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateHoursOfOperationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateHoursOfOperationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-