Class GetSpaceResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.repostspace.model.RepostspaceResponse
-
- software.amazon.awssdk.services.repostspace.model.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetSpaceResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringarn()The ARN of the private re:Post.static GetSpaceResponse.Builderbuilder()StringclientId()The Identity Center identifier for the Application Instance.ConfigurationStatusconfigurationStatus()The configuration status of the private re:Post.StringconfigurationStatusAsString()The configuration status of the private re:Post.LongcontentSize()The content size of the private re:Post.InstantcreateDateTime()The date when the private re:Post was created.StringcustomerRoleArn()The IAM role that grants permissions to the private re:Post to convert unanswered questions into AWS support tickets.InstantdeleteDateTime()The date when the private re:Post was deleted.Stringdescription()The description of the private re:Post.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)List<String>groupAdmins()Deprecated.This property has been depracted and will be replaced by the roles property.booleanhasGroupAdmins()Deprecated.This property has been depracted and will be replaced by the roles property.inthashCode()booleanhasRoles()For responses, this returns true if the service returned a value for the Roles property.booleanhasUserAdmins()Deprecated.This property has been depracted and will be replaced by the roles property.Stringname()The name of the private re:Post.StringrandomDomain()The AWS generated subdomain of the private re:PostMap<String,List<Role>>roles()A map of accessor identifiers and their roles.Map<String,List<String>>rolesAsStrings()A map of accessor identifiers and their roles.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetSpaceResponse.Builder>serializableBuilderClass()StringspaceId()The unique ID of the private re:Post.Stringstatus()The creation or deletion status of the private re:Post.LongstorageLimit()The storage limit of the private re:Post.TierLeveltier()The pricing tier of the private re:Post.StringtierAsString()The pricing tier of the private re:Post.GetSpaceResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<String>userAdmins()Deprecated.This property has been depracted and will be replaced by the roles property.IntegeruserCount()The number of users that have onboarded to the private re:Post.StringuserKMSKey()The custom AWS KMS key ARN that’s used for the AWS KMS encryption.StringvanityDomain()The custom subdomain that you use to access your private re:Post.VanityDomainStatusvanityDomainStatus()The approval status of the custom subdomain.StringvanityDomainStatusAsString()The approval status of the custom subdomain.-
Methods inherited from class software.amazon.awssdk.services.repostspace.model.RepostspaceResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The ARN of the private re:Post.
- Returns:
- The ARN of the private re:Post.
-
clientId
public final String clientId()
The Identity Center identifier for the Application Instance.
- Returns:
- The Identity Center identifier for the Application Instance.
-
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,
configurationStatuswill returnConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationStatusAsString().- Returns:
- The configuration status of the private re:Post.
- See Also:
ConfigurationStatus
-
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,
configurationStatuswill returnConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationStatusAsString().- Returns:
- The configuration status of the private re:Post.
- See Also:
ConfigurationStatus
-
contentSize
public final Long contentSize()
The content size of the private re:Post.
- Returns:
- The content size of the private re:Post.
-
createDateTime
public final Instant createDateTime()
The date when the private re:Post was created.
- Returns:
- The date when the private re:Post was created.
-
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.
-
deleteDateTime
public final Instant deleteDateTime()
The date when the private re:Post was deleted.
- Returns:
- The date when the private re:Post was deleted.
-
description
public final String description()
The description of the private re:Post.
- Returns:
- The description 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 theisEmpty()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.
-
name
public final String name()
The name of the private re:Post.
- Returns:
- The name of the private re:Post.
-
randomDomain
public final String randomDomain()
The AWS generated subdomain of the private re:Post
- Returns:
- The AWS generated subdomain 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 theisEmpty()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.
-
spaceId
public final String spaceId()
The unique ID of the private re:Post.
- Returns:
- The unique ID 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.
-
storageLimit
public final Long storageLimit()
The storage limit of the private re:Post.
- Returns:
- The storage limit of the private re:Post.
-
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,
tierwill returnTierLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtierAsString().- Returns:
- The pricing tier of the private re:Post.
- See Also:
TierLevel
-
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,
tierwill returnTierLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtierAsString().- Returns:
- The pricing tier of the private re:Post.
- See Also:
TierLevel
-
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 theisEmpty()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.
-
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.
-
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.
-
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.
-
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,
vanityDomainStatuswill returnVanityDomainStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvanityDomainStatusAsString().- Returns:
- The approval status of the custom subdomain.
- See Also:
VanityDomainStatus
-
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,
vanityDomainStatuswill returnVanityDomainStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvanityDomainStatusAsString().- Returns:
- The approval status of the custom subdomain.
- See Also:
VanityDomainStatus
-
toBuilder
public GetSpaceResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetSpaceResponse.Builder,GetSpaceResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetSpaceResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetSpaceResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-