Interface HoursOfOperation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HoursOfOperation.Builder,HoursOfOperation>,SdkBuilder<HoursOfOperation.Builder,HoursOfOperation>,SdkPojo
- Enclosing class:
- HoursOfOperation
public static interface HoursOfOperation.Builder extends SdkPojo, CopyableBuilder<HoursOfOperation.Builder,HoursOfOperation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HoursOfOperation.Builderconfig(Collection<HoursOfOperationConfig> config)Configuration information for the hours of operation.HoursOfOperation.Builderconfig(Consumer<HoursOfOperationConfig.Builder>... config)Configuration information for the hours of operation.HoursOfOperation.Builderconfig(HoursOfOperationConfig... config)Configuration information for the hours of operation.HoursOfOperation.Builderdescription(String description)The description for the hours of operation.HoursOfOperation.BuilderhoursOfOperationArn(String hoursOfOperationArn)The Amazon Resource Name (ARN) for the hours of operation.HoursOfOperation.BuilderhoursOfOperationId(String hoursOfOperationId)The identifier for the hours of operation.HoursOfOperation.BuilderlastModifiedRegion(String lastModifiedRegion)The Amazon Web Services Region where this resource was last modified.HoursOfOperation.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp when this resource was last modified.HoursOfOperation.Buildername(String name)The name for the hours of operation.HoursOfOperation.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.HoursOfOperation.BuildertimeZone(String timeZone)The time zone for the hours of operation.-
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
-
hoursOfOperationId
HoursOfOperation.Builder hoursOfOperationId(String hoursOfOperationId)
The identifier for the hours of operation.
- Parameters:
hoursOfOperationId- The identifier for the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hoursOfOperationArn
HoursOfOperation.Builder hoursOfOperationArn(String hoursOfOperationArn)
The Amazon Resource Name (ARN) for the hours of operation.
- Parameters:
hoursOfOperationArn- The Amazon Resource Name (ARN) for the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
HoursOfOperation.Builder name(String name)
The name for the hours of operation.
- Parameters:
name- The name for the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
HoursOfOperation.Builder description(String description)
The description for the hours of operation.
- Parameters:
description- The description for the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeZone
HoursOfOperation.Builder timeZone(String timeZone)
The time zone for the hours of operation.
- Parameters:
timeZone- The time zone for the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
HoursOfOperation.Builder config(Collection<HoursOfOperationConfig> config)
Configuration information for the hours of operation.
- Parameters:
config- Configuration information for the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
HoursOfOperation.Builder config(HoursOfOperationConfig... config)
Configuration information for the hours of operation.
- Parameters:
config- Configuration information for the hours of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
HoursOfOperation.Builder config(Consumer<HoursOfOperationConfig.Builder>... config)
Configuration information for the hours of operation.
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
HoursOfOperation.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.
-
lastModifiedTime
HoursOfOperation.Builder lastModifiedTime(Instant lastModifiedTime)
The timestamp when this resource was last modified.
- Parameters:
lastModifiedTime- The timestamp when this resource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedRegion
HoursOfOperation.Builder lastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
- Parameters:
lastModifiedRegion- The Amazon Web Services Region where this resource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-