Class GetServiceResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse
-
- software.amazon.awssdk.services.vpclattice.model.GetServiceResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetServiceResponse.Builder,GetServiceResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetServiceResponse extends VpcLatticeResponse implements ToCopyableBuilder<GetServiceResponse.Builder,GetServiceResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetServiceResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the service.AuthTypeauthType()The type of IAM policy.StringauthTypeAsString()The type of IAM policy.static GetServiceResponse.Builderbuilder()StringcertificateArn()The Amazon Resource Name (ARN) of the certificate.InstantcreatedAt()The date and time that the service was created, specified in ISO-8601 format.StringcustomDomainName()The custom domain name of the service.DnsEntrydnsEntry()The DNS name of the service.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureCode()The failure code.StringfailureMessage()The failure message.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the service.InstantlastUpdatedAt()The date and time that the service was last updated, specified in ISO-8601 format.Stringname()The name of the service.List<SdkField<?>>sdkFields()static Class<? extends GetServiceResponse.Builder>serializableBuilderClass()ServiceStatusstatus()The status of the service.StringstatusAsString()The status of the service.GetServiceResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse
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 Amazon Resource Name (ARN) of the service.
- Returns:
- The Amazon Resource Name (ARN) of the service.
-
authType
public final AuthType authType()
The type of IAM policy.
If the service returns an enum value that is not available in the current SDK version,
authTypewill returnAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- The type of IAM policy.
- See Also:
AuthType
-
authTypeAsString
public final String authTypeAsString()
The type of IAM policy.
If the service returns an enum value that is not available in the current SDK version,
authTypewill returnAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- The type of IAM policy.
- See Also:
AuthType
-
certificateArn
public final String certificateArn()
The Amazon Resource Name (ARN) of the certificate.
- Returns:
- The Amazon Resource Name (ARN) of the certificate.
-
createdAt
public final Instant createdAt()
The date and time that the service was created, specified in ISO-8601 format.
- Returns:
- The date and time that the service was created, specified in ISO-8601 format.
-
customDomainName
public final String customDomainName()
The custom domain name of the service.
- Returns:
- The custom domain name of the service.
-
dnsEntry
public final DnsEntry dnsEntry()
The DNS name of the service.
- Returns:
- The DNS name of the service.
-
failureCode
public final String failureCode()
The failure code.
- Returns:
- The failure code.
-
failureMessage
public final String failureMessage()
The failure message.
- Returns:
- The failure message.
-
id
public final String id()
The ID of the service.
- Returns:
- The ID of the service.
-
lastUpdatedAt
public final Instant lastUpdatedAt()
The date and time that the service was last updated, specified in ISO-8601 format.
- Returns:
- The date and time that the service was last updated, specified in ISO-8601 format.
-
name
public final String name()
The name of the service.
- Returns:
- The name of the service.
-
status
public final ServiceStatus status()
The status of the service.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnServiceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service.
- See Also:
ServiceStatus
-
statusAsString
public final String statusAsString()
The status of the service.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnServiceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service.
- See Also:
ServiceStatus
-
toBuilder
public GetServiceResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetServiceResponse.Builder,GetServiceResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetServiceResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetServiceResponse.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
-
-