Class GetServiceNetworkResponse
- 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.GetServiceNetworkResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetServiceNetworkResponse.Builder,GetServiceNetworkResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetServiceNetworkResponse extends VpcLatticeResponse implements ToCopyableBuilder<GetServiceNetworkResponse.Builder,GetServiceNetworkResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetServiceNetworkResponse.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 network.AuthTypeauthType()The type of IAM policy.StringauthTypeAsString()The type of IAM policy.static GetServiceNetworkResponse.Builderbuilder()InstantcreatedAt()The date and time that the service network was created, specified in ISO-8601 format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the service network.InstantlastUpdatedAt()The date and time of the last update, specified in ISO-8601 format.Stringname()The name of the service network.LongnumberOfAssociatedServices()The number of services associated with the service network.LongnumberOfAssociatedVPCs()The number of VPCs associated with the service network.List<SdkField<?>>sdkFields()static Class<? extends GetServiceNetworkResponse.Builder>serializableBuilderClass()GetServiceNetworkResponse.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 network.
- Returns:
- The Amazon Resource Name (ARN) of the service network.
-
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
-
createdAt
public final Instant createdAt()
The date and time that the service network was created, specified in ISO-8601 format.
- Returns:
- The date and time that the service network was created, specified in ISO-8601 format.
-
id
public final String id()
The ID of the service network.
- Returns:
- The ID of the service network.
-
lastUpdatedAt
public final Instant lastUpdatedAt()
The date and time of the last update, specified in ISO-8601 format.
- Returns:
- The date and time of the last update, specified in ISO-8601 format.
-
name
public final String name()
The name of the service network.
- Returns:
- The name of the service network.
-
numberOfAssociatedServices
public final Long numberOfAssociatedServices()
The number of services associated with the service network.
- Returns:
- The number of services associated with the service network.
-
numberOfAssociatedVPCs
public final Long numberOfAssociatedVPCs()
The number of VPCs associated with the service network.
- Returns:
- The number of VPCs associated with the service network.
-
toBuilder
public GetServiceNetworkResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetServiceNetworkResponse.Builder,GetServiceNetworkResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetServiceNetworkResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetServiceNetworkResponse.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
-
-