@Generated(value="software.amazon.awssdk:codegen") public final class ResourceIdPreference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceIdPreference.Builder,ResourceIdPreference>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceIdPreference.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceIdPreference.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResources()
Returns true if the Resources property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
ResourceIdType |
resourceIdType()
Returns the value of the ResourceIdType property for this object.
|
String |
resourceIdTypeAsString()
Returns the value of the ResourceIdType property for this object.
|
List<Resource> |
resources()
Returns the value of the Resources property for this object.
|
List<String> |
resourcesAsStrings()
Returns the value of the Resources property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceIdPreference.Builder> |
serializableBuilderClass() |
ResourceIdPreference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ResourceIdType resourceIdType()
If the service returns an enum value that is not available in the current SDK version, resourceIdType
will return ResourceIdType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceIdTypeAsString().
ResourceIdTypepublic final String resourceIdTypeAsString()
If the service returns an enum value that is not available in the current SDK version, resourceIdType
will return ResourceIdType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceIdTypeAsString().
ResourceIdTypepublic final List<Resource> resources()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResources() to see if a value was sent in this field.
public final boolean hasResources()
public final List<String> resourcesAsStrings()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResources() to see if a value was sent in this field.
public ResourceIdPreference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceIdPreference.Builder,ResourceIdPreference>public static ResourceIdPreference.Builder builder()
public static Class<? extends ResourceIdPreference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.