Class DescribeInstanceResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ssoadmin.model.SsoAdminResponse
-
- software.amazon.awssdk.services.ssoadmin.model.DescribeInstanceResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<DescribeInstanceResponse.Builder,DescribeInstanceResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeInstanceResponse extends SsoAdminResponse implements ToCopyableBuilder<DescribeInstanceResponse.Builder,DescribeInstanceResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DescribeInstanceResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeInstanceResponse.Builder
builder()
Instant
createdDate()
The date the instance was created.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
identityStoreId()
The identifier of the identity store that is connected to the instance of IAM Identity Center.String
instanceArn()
The ARN of the instance of IAM Identity Center under which the operation will run.String
name()
Specifies the instance name.String
ownerAccountId()
The identifier of the Amazon Web Services account for which the instance was created.List<SdkField<?>>
sdkFields()
static Class<? extends DescribeInstanceResponse.Builder>
serializableBuilderClass()
InstanceStatus
status()
The status of the instance.String
statusAsString()
The status of the instance.DescribeInstanceResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.ssoadmin.model.SsoAdminResponse
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
-
createdDate
public final Instant createdDate()
The date the instance was created.
- Returns:
- The date the instance was created.
-
identityStoreId
public final String identityStoreId()
The identifier of the identity store that is connected to the instance of IAM Identity Center.
- Returns:
- The identifier of the identity store that is connected to the instance of IAM Identity Center.
-
instanceArn
public final String instanceArn()
The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
- Returns:
- The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
-
name
public final String name()
Specifies the instance name.
- Returns:
- Specifies the instance name.
-
ownerAccountId
public final String ownerAccountId()
The identifier of the Amazon Web Services account for which the instance was created.
- Returns:
- The identifier of the Amazon Web Services account for which the instance was created.
-
status
public final InstanceStatus status()
The status of the instance.
If the service returns an enum value that is not available in the current SDK version,
status
will returnInstanceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the instance.
- See Also:
InstanceStatus
-
statusAsString
public final String statusAsString()
The status of the instance.
If the service returns an enum value that is not available in the current SDK version,
status
will returnInstanceStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the instance.
- See Also:
InstanceStatus
-
toBuilder
public DescribeInstanceResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DescribeInstanceResponse.Builder,DescribeInstanceResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static DescribeInstanceResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeInstanceResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
-