@Generated(value="software.amazon.awssdk:codegen") public final class RelatedResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RelatedResource.Builder,RelatedResource>
Information about a related resource.
Modifier and Type | Class and Description |
---|---|
static interface |
RelatedResource.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
additionalInfo()
Additional information about the resource.
|
static RelatedResource.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceIdentifier |
resourceIdentifier()
Information identifying the resource.
|
ResourceType |
resourceType()
The type of resource.
|
String |
resourceTypeAsString()
The type of resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RelatedResource.Builder> |
serializableBuilderClass() |
RelatedResource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ResourceType resourceType()
The type of resource.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public String resourceTypeAsString()
The type of resource.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public ResourceIdentifier resourceIdentifier()
Information identifying the resource.
public Map<String,String> additionalInfo()
Additional information about the resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public RelatedResource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RelatedResource.Builder,RelatedResource>
public static RelatedResource.Builder builder()
public static Class<? extends RelatedResource.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.