Interface OrganizationStatus.Builder

    • Method Detail

      • organizationId

        OrganizationStatus.Builder organizationId​(String 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 or DISABLED.

        Parameters:
        organizationAwsServiceAccessStatus - The status of the organization's AWS service access. This will be ENABLED or DISABLED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • slrDeploymentStatus

        OrganizationStatus.Builder slrDeploymentStatus​(String slrDeploymentStatus)

        The status of the SLR deployment for the account. This will be either SUCCEEDED or IN_PROGRESS.

        Parameters:
        slrDeploymentStatus - The status of the SLR deployment for the account. This will be either SUCCEEDED or IN_PROGRESS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountStatusList

        OrganizationStatus.Builder accountStatusList​(Collection<AccountStatus> accountStatusList)

        The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either SUCCEEDED or IN_PROGRESS.

        Parameters:
        accountStatusList - The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either SUCCEEDED or IN_PROGRESS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountStatusList

        OrganizationStatus.Builder accountStatusList​(AccountStatus... accountStatusList)

        The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either SUCCEEDED or IN_PROGRESS.

        Parameters:
        accountStatusList - The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either SUCCEEDED or IN_PROGRESS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountStatusList

        OrganizationStatus.Builder accountStatusList​(Consumer<AccountStatus.Builder>... accountStatusList)

        The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either SUCCEEDED or IN_PROGRESS.

        This is a convenience method that creates an instance of the AccountStatus.Builder avoiding the need to create one manually via AccountStatus.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #accountStatusList(List).

        Parameters:
        accountStatusList - a consumer that will call methods on AccountStatus.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #accountStatusList(java.util.Collection)