Class GetSpaceResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<GetSpaceResponse.Builder,GetSpaceResponse>

@Generated("software.amazon.awssdk:codegen") public final class GetSpaceResponse extends RepostspaceResponse implements ToCopyableBuilder<GetSpaceResponse.Builder,GetSpaceResponse>
  • Method Details

    • spaceId

      public final String spaceId()

      The unique ID of the private re:Post.

      Returns:
      The unique ID of the private re:Post.
    • arn

      public final String arn()

      The ARN of the private re:Post.

      Returns:
      The ARN of the private re:Post.
    • name

      public final String name()

      The name of the private re:Post.

      Returns:
      The name of the private re:Post.
    • status

      public final String status()

      The creation or deletion status of the private re:Post.

      Returns:
      The creation or deletion status of the private re:Post.
    • configurationStatus

      public final ConfigurationStatus configurationStatus()

      The configuration status of the private re:Post.

      If the service returns an enum value that is not available in the current SDK version, configurationStatus will return ConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from configurationStatusAsString().

      Returns:
      The configuration status of the private re:Post.
      See Also:
    • configurationStatusAsString

      public final String configurationStatusAsString()

      The configuration status of the private re:Post.

      If the service returns an enum value that is not available in the current SDK version, configurationStatus will return ConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from configurationStatusAsString().

      Returns:
      The configuration status of the private re:Post.
      See Also:
    • clientId

      public final String clientId()

      The Identity Center identifier for the Application Instance.

      Returns:
      The Identity Center identifier for the Application Instance.
    • identityStoreId

      public final String identityStoreId()

      Returns:
    • applicationArn

      public final String applicationArn()

      Returns:
    • description

      public final String description()

      The description of the private re:Post.

      Returns:
      The description of the private re:Post.
    • vanityDomainStatus

      public final VanityDomainStatus vanityDomainStatus()

      The approval status of the custom subdomain.

      If the service returns an enum value that is not available in the current SDK version, vanityDomainStatus will return VanityDomainStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from vanityDomainStatusAsString().

      Returns:
      The approval status of the custom subdomain.
      See Also:
    • vanityDomainStatusAsString

      public final String vanityDomainStatusAsString()

      The approval status of the custom subdomain.

      If the service returns an enum value that is not available in the current SDK version, vanityDomainStatus will return VanityDomainStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from vanityDomainStatusAsString().

      Returns:
      The approval status of the custom subdomain.
      See Also:
    • vanityDomain

      public final String vanityDomain()

      The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.

      Returns:
      The custom subdomain that you use to access your private re:Post. All custom subdomains must be approved by AWS before use.
    • randomDomain

      public final String randomDomain()

      The AWS generated subdomain of the private re:Post

      Returns:
      The AWS generated subdomain of the private re:Post
    • customerRoleArn

      public final String customerRoleArn()

      The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.

      Returns:
      The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.
    • createDateTime

      public final Instant createDateTime()

      The date when the private re:Post was created.

      Returns:
      The date when the private re:Post was created.
    • deleteDateTime

      public final Instant deleteDateTime()

      The date when the private re:Post was deleted.

      Returns:
      The date when the private re:Post was deleted.
    • tier

      public final TierLevel tier()

      The pricing tier of the private re:Post.

      If the service returns an enum value that is not available in the current SDK version, tier will return TierLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from tierAsString().

      Returns:
      The pricing tier of the private re:Post.
      See Also:
    • tierAsString

      public final String tierAsString()

      The pricing tier of the private re:Post.

      If the service returns an enum value that is not available in the current SDK version, tier will return TierLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from tierAsString().

      Returns:
      The pricing tier of the private re:Post.
      See Also:
    • storageLimit

      public final Long storageLimit()

      The storage limit of the private re:Post.

      Returns:
      The storage limit of the private re:Post.
    • hasUserAdmins

      @Deprecated public final boolean hasUserAdmins()
      Deprecated.
      This property has been depracted and will be replaced by the roles property.
      For responses, this returns true if the service returned a value for the UserAdmins property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • userAdmins

      @Deprecated public final List<String> userAdmins()
      Deprecated.
      This property has been depracted and will be replaced by the roles property.

      The list of users that are administrators of the private re:Post.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasUserAdmins() method.

      Returns:
      The list of users that are administrators of the private re:Post.
    • hasGroupAdmins

      @Deprecated public final boolean hasGroupAdmins()
      Deprecated.
      This property has been depracted and will be replaced by the roles property.
      For responses, this returns true if the service returned a value for the GroupAdmins property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • groupAdmins

      @Deprecated public final List<String> groupAdmins()
      Deprecated.
      This property has been depracted and will be replaced by the roles property.

      The list of groups that are administrators of the private re:Post.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasGroupAdmins() method.

      Returns:
      The list of groups that are administrators of the private re:Post.
    • roles

      public final Map<String,List<Role>> roles()

      A map of accessor identifiers and their roles.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasRoles() method.

      Returns:
      A map of accessor identifiers and their roles.
    • hasRoles

      public final boolean hasRoles()
      For responses, this returns true if the service returned a value for the Roles property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • rolesAsStrings

      public final Map<String,List<String>> rolesAsStrings()

      A map of accessor identifiers and their roles.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasRoles() method.

      Returns:
      A map of accessor identifiers and their roles.
    • userKMSKey

      public final String userKMSKey()

      The custom AWS KMS key ARN that’s used for the AWS KMS encryption.

      Returns:
      The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
    • userCount

      public final Integer userCount()

      The number of users that have onboarded to the private re:Post.

      Returns:
      The number of users that have onboarded to the private re:Post.
    • contentSize

      public final Long contentSize()

      The content size of the private re:Post.

      Returns:
      The content size of the private re:Post.
    • supportedEmailDomains

      public final SupportedEmailDomainsStatus supportedEmailDomains()

      Returns:
    • toBuilder

      public GetSpaceResponse.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<GetSpaceResponse.Builder,GetSpaceResponse>
      Specified by:
      toBuilder in class AwsResponse
      Returns:
      a builder for type T
    • builder

      public static GetSpaceResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends GetSpaceResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Description copied from class: SdkResponse
      Used to retrieve the value of a field from any class that extends SdkResponse. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class) method will again be available.
      Overrides:
      getValueForField in class SdkResponse
      Parameters:
      fieldName - The name of the member to be retrieved.
      clazz - The class to cast the returned object to.
      Returns:
      Optional containing the casted return value
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.