Interface RegionDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RegionDescription.Builder,RegionDescription>,SdkBuilder<RegionDescription.Builder,RegionDescription>,SdkPojo
- Enclosing class:
- RegionDescription
public static interface RegionDescription.Builder extends SdkPojo, CopyableBuilder<RegionDescription.Builder,RegionDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RegionDescription.BuilderdesiredNumberOfDomainControllers(Integer desiredNumberOfDomainControllers)The desired number of domain controllers in the specified Region for the specified directory.RegionDescription.BuilderdirectoryId(String directoryId)The identifier of the directory.RegionDescription.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time that the Region description was last updated.RegionDescription.BuilderlaunchTime(Instant launchTime)Specifies when the Region replication began.RegionDescription.BuilderregionName(String regionName)The name of the Region.RegionDescription.BuilderregionType(String regionType)Specifies whether the Region is the primary Region or an additional Region.RegionDescription.BuilderregionType(RegionType regionType)Specifies whether the Region is the primary Region or an additional Region.RegionDescription.Builderstatus(String status)The status of the replication process for the specified Region.RegionDescription.Builderstatus(DirectoryStage status)The status of the replication process for the specified Region.RegionDescription.BuilderstatusLastUpdatedDateTime(Instant statusLastUpdatedDateTime)The date and time that the Region status was last updated.default RegionDescription.BuildervpcSettings(Consumer<DirectoryVpcSettings.Builder> vpcSettings)Sets the value of the VpcSettings property for this object.RegionDescription.BuildervpcSettings(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
directoryId
RegionDescription.Builder directoryId(String 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
RegionDescription.Builder regionName(String 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
RegionDescription.Builder regionType(String 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,RegionType
-
regionType
RegionDescription.Builder regionType(RegionType 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,RegionType
-
status
RegionDescription.Builder status(String 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:
DirectoryStage,DirectoryStage
-
status
RegionDescription.Builder status(DirectoryStage 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:
DirectoryStage,DirectoryStage
-
vpcSettings
RegionDescription.Builder vpcSettings(DirectoryVpcSettings 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
default RegionDescription.Builder vpcSettings(Consumer<DirectoryVpcSettings.Builder> vpcSettings)
Sets the value of the VpcSettings property for this object. This is a convenience method that creates an instance of theDirectoryVpcSettings.Builderavoiding the need to create one manually viaDirectoryVpcSettings.builder().When the
Consumercompletes,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:
vpcSettings(DirectoryVpcSettings)
-
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
RegionDescription.Builder launchTime(Instant 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
RegionDescription.Builder statusLastUpdatedDateTime(Instant 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
RegionDescription.Builder lastUpdatedDateTime(Instant 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.
-
-