Class JoinDomainResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse
-
- software.amazon.awssdk.services.storagegateway.model.JoinDomainResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<JoinDomainResponse.Builder,JoinDomainResponse>
@Generated("software.amazon.awssdk:codegen") public final class JoinDomainResponse extends StorageGatewayResponse implements ToCopyableBuilder<JoinDomainResponse.Builder,JoinDomainResponse>
JoinDomainOutput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJoinDomainResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveDirectoryStatusactiveDirectoryStatus()Indicates the status of the gateway as a member of the Active Directory domain.StringactiveDirectoryStatusAsString()Indicates the status of the gateway as a member of the Active Directory domain.static JoinDomainResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgatewayARN()The unique Amazon Resource Name (ARN) of the gateway that joined the domain.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends JoinDomainResponse.Builder>serializableBuilderClass()JoinDomainResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse
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
-
gatewayARN
public final String gatewayARN()
The unique Amazon Resource Name (ARN) of the gateway that joined the domain.
- Returns:
- The unique Amazon Resource Name (ARN) of the gateway that joined the domain.
-
activeDirectoryStatus
public final ActiveDirectoryStatus activeDirectoryStatus()
Indicates the status of the gateway as a member of the Active Directory domain.
-
ACCESS_DENIED: Indicates that theJoinDomainoperation failed due to an authentication error. -
DETACHED: Indicates that gateway is not joined to a domain. -
JOINED: Indicates that the gateway has successfully joined a domain. -
JOINING: Indicates that aJoinDomainoperation is in progress. -
NETWORK_ERROR: Indicates thatJoinDomainoperation failed due to a network or connectivity error. -
TIMEOUT: Indicates that theJoinDomainoperation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR: Indicates that theJoinDomainoperation failed due to another type of error.
If the service returns an enum value that is not available in the current SDK version,
activeDirectoryStatuswill returnActiveDirectoryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactiveDirectoryStatusAsString().- Returns:
- Indicates the status of the gateway as a member of the Active Directory domain.
-
ACCESS_DENIED: Indicates that theJoinDomainoperation failed due to an authentication error. -
DETACHED: Indicates that gateway is not joined to a domain. -
JOINED: Indicates that the gateway has successfully joined a domain. -
JOINING: Indicates that aJoinDomainoperation is in progress. -
NETWORK_ERROR: Indicates thatJoinDomainoperation failed due to a network or connectivity error. -
TIMEOUT: Indicates that theJoinDomainoperation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR: Indicates that theJoinDomainoperation failed due to another type of error.
-
- See Also:
ActiveDirectoryStatus
-
-
activeDirectoryStatusAsString
public final String activeDirectoryStatusAsString()
Indicates the status of the gateway as a member of the Active Directory domain.
-
ACCESS_DENIED: Indicates that theJoinDomainoperation failed due to an authentication error. -
DETACHED: Indicates that gateway is not joined to a domain. -
JOINED: Indicates that the gateway has successfully joined a domain. -
JOINING: Indicates that aJoinDomainoperation is in progress. -
NETWORK_ERROR: Indicates thatJoinDomainoperation failed due to a network or connectivity error. -
TIMEOUT: Indicates that theJoinDomainoperation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR: Indicates that theJoinDomainoperation failed due to another type of error.
If the service returns an enum value that is not available in the current SDK version,
activeDirectoryStatuswill returnActiveDirectoryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactiveDirectoryStatusAsString().- Returns:
- Indicates the status of the gateway as a member of the Active Directory domain.
-
ACCESS_DENIED: Indicates that theJoinDomainoperation failed due to an authentication error. -
DETACHED: Indicates that gateway is not joined to a domain. -
JOINED: Indicates that the gateway has successfully joined a domain. -
JOINING: Indicates that aJoinDomainoperation is in progress. -
NETWORK_ERROR: Indicates thatJoinDomainoperation failed due to a network or connectivity error. -
TIMEOUT: Indicates that theJoinDomainoperation failed because the operation didn't complete within the allotted time. -
UNKNOWN_ERROR: Indicates that theJoinDomainoperation failed due to another type of error.
-
- See Also:
ActiveDirectoryStatus
-
-
toBuilder
public JoinDomainResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JoinDomainResponse.Builder,JoinDomainResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static JoinDomainResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends JoinDomainResponse.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
-
-