Interface GetEnrollmentStatusResponse.Builder

    • Method Detail

      • status

        GetEnrollmentStatusResponse.Builder status​(String status)

        The enrollment status of the account.

        Parameters:
        status - The enrollment status of the account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Status, Status
      • status

        GetEnrollmentStatusResponse.Builder status​(Status status)

        The enrollment status of the account.

        Parameters:
        status - The enrollment status of the account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Status, Status
      • statusReason

        GetEnrollmentStatusResponse.Builder statusReason​(String statusReason)

        The reason for the enrollment status of the account.

        For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

        Parameters:
        statusReason - The reason for the enrollment status of the account.

        For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • memberAccountsEnrolled

        GetEnrollmentStatusResponse.Builder memberAccountsEnrolled​(Boolean memberAccountsEnrolled)

        Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.

        Parameters:
        memberAccountsEnrolled - Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTimestamp

        GetEnrollmentStatusResponse.Builder lastUpdatedTimestamp​(Instant lastUpdatedTimestamp)

        The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.

        Parameters:
        lastUpdatedTimestamp - The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberOfMemberAccountsOptedIn

        GetEnrollmentStatusResponse.Builder numberOfMemberAccountsOptedIn​(Integer numberOfMemberAccountsOptedIn)

        The count of organization member accounts that are opted in to the service, if your account is an organization management account.

        Parameters:
        numberOfMemberAccountsOptedIn - The count of organization member accounts that are opted in to the service, if your account is an organization management account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.