Interface RegionDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RegionDescription.Builder,
,RegionDescription> SdkBuilder<RegionDescription.Builder,
,RegionDescription> SdkPojo
- Enclosing class:
RegionDescription
-
Method Summary
Modifier and TypeMethodDescriptiondesiredNumberOfDomainControllers
(Integer desiredNumberOfDomainControllers) The desired number of domain controllers in the specified Region for the specified directory.directoryId
(String directoryId) The identifier of the directory.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time that the Region description was last updated.launchTime
(Instant launchTime) Specifies when the Region replication began.regionName
(String regionName) The name of the Region.regionType
(String regionType) Specifies whether the Region is the primary Region or an additional Region.regionType
(RegionType regionType) Specifies whether the Region is the primary Region or an additional Region.The status of the replication process for the specified Region.status
(DirectoryStage status) The status of the replication process for the specified Region.statusLastUpdatedDateTime
(Instant statusLastUpdatedDateTime) The date and time that the Region status was last updated.default RegionDescription.Builder
vpcSettings
(Consumer<DirectoryVpcSettings.Builder> vpcSettings) Sets the value of the VpcSettings property for this object.vpcSettings
(DirectoryVpcSettings vpcSettings) Sets the value of the VpcSettings property for this object.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 Details
-
directoryId
The identifier of the directory.
- Parameters:
directoryId
- The identifier of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionName
The name of the Region. For example,
us-east-1
.- Parameters:
regionName
- The name of the Region. For example,us-east-1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionType
Specifies whether the Region is the primary Region or an additional Region.
- Parameters:
regionType
- Specifies whether the Region is the primary Region or an additional Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionType
Specifies whether the Region is the primary Region or an additional Region.
- Parameters:
regionType
- Specifies whether the Region is the primary Region or an additional Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the replication process for the specified Region.
- Parameters:
status
- The status of the replication process for the specified Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the replication process for the specified Region.
- Parameters:
status
- The status of the replication process for the specified Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcSettings
Sets the value of the VpcSettings property for this object.- Parameters:
vpcSettings
- The new value for the VpcSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSettings
Sets the value of the VpcSettings property for this object. This is a convenience method that creates an instance of theDirectoryVpcSettings.Builder
avoiding the need to create one manually viaDirectoryVpcSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcSettings(DirectoryVpcSettings)
.- Parameters:
vpcSettings
- a consumer that will call methods onDirectoryVpcSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredNumberOfDomainControllers
RegionDescription.Builder desiredNumberOfDomainControllers(Integer desiredNumberOfDomainControllers) The desired number of domain controllers in the specified Region for the specified directory.
- Parameters:
desiredNumberOfDomainControllers
- The desired number of domain controllers in the specified Region for the specified directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTime
Specifies when the Region replication began.
- Parameters:
launchTime
- Specifies when the Region replication began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusLastUpdatedDateTime
The date and time that the Region status was last updated.
- Parameters:
statusLastUpdatedDateTime
- The date and time that the Region status was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
The date and time that the Region description was last updated.
- Parameters:
lastUpdatedDateTime
- The date and time that the Region description was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-