Interface OrganizationStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OrganizationStatus.Builder,
,OrganizationStatus> SdkBuilder<OrganizationStatus.Builder,
,OrganizationStatus> SdkPojo
- Enclosing class:
OrganizationStatus
-
Method Summary
Modifier and TypeMethodDescriptionaccountStatusList
(Collection<AccountStatus> accountStatusList) The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts.accountStatusList
(Consumer<AccountStatus.Builder>... accountStatusList) The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts.accountStatusList
(AccountStatus... accountStatusList) The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts.organizationAwsServiceAccessStatus
(String organizationAwsServiceAccessStatus) The status of the organization's AWS service access.organizationId
(String organizationId) The ID of an Amazon Web Services Organization.slrDeploymentStatus
(String slrDeploymentStatus) The status of the SLR deployment for the account.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
-
organizationId
The ID of an Amazon Web Services Organization.
- Parameters:
organizationId
- The ID of an Amazon Web Services Organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationAwsServiceAccessStatus
OrganizationStatus.Builder organizationAwsServiceAccessStatus(String organizationAwsServiceAccessStatus) The status of the organization's AWS service access. This will be
ENABLED
orDISABLED
.- Parameters:
organizationAwsServiceAccessStatus
- The status of the organization's AWS service access. This will beENABLED
orDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slrDeploymentStatus
The status of the SLR deployment for the account. This will be either
SUCCEEDED
orIN_PROGRESS
.- Parameters:
slrDeploymentStatus
- The status of the SLR deployment for the account. This will be eitherSUCCEEDED
orIN_PROGRESS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountStatusList
The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either
SUCCEEDED
orIN_PROGRESS
.- Parameters:
accountStatusList
- The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be eitherSUCCEEDED
orIN_PROGRESS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountStatusList
The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either
SUCCEEDED
orIN_PROGRESS
.- Parameters:
accountStatusList
- The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be eitherSUCCEEDED
orIN_PROGRESS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountStatusList
The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either
This is a convenience method that creates an instance of theSUCCEEDED
orIN_PROGRESS
.AccountStatus.Builder
avoiding the need to create one manually viaAccountStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountStatusList(List<AccountStatus>)
.- Parameters:
accountStatusList
- a consumer that will call methods onAccountStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-