@Generated(value="software.amazon.awssdk:codegen") public final class GrantedEntityInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GrantedEntityInput.Builder,GrantedEntityInput>
The details of a listing for which a subscription is to be granted.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GrantedEntityInput.Builder |
static class |
GrantedEntityInput.Type |
| Modifier and Type | Method and Description |
|---|---|
static GrantedEntityInput.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static GrantedEntityInput |
fromListing(Consumer<ListingRevisionInput.Builder> listing)
Create an instance of this class with
listing() initialized to the given value. |
static GrantedEntityInput |
fromListing(ListingRevisionInput listing)
Create an instance of this class with
listing() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ListingRevisionInput |
listing()
The listing for which a subscription is to be granted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GrantedEntityInput.Builder> |
serializableBuilderClass() |
GrantedEntityInput.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
GrantedEntityInput.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ListingRevisionInput listing()
The listing for which a subscription is to be granted.
public GrantedEntityInput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GrantedEntityInput.Builder,GrantedEntityInput>public static GrantedEntityInput.Builder builder()
public static Class<? extends GrantedEntityInput.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static GrantedEntityInput fromListing(ListingRevisionInput listing)
listing() initialized to the given value.
The listing for which a subscription is to be granted.
listing - The listing for which a subscription is to be granted.public static GrantedEntityInput fromListing(Consumer<ListingRevisionInput.Builder> listing)
listing() initialized to the given value.
The listing for which a subscription is to be granted.
listing - The listing for which a subscription is to be granted.public GrantedEntityInput.Type type()
GrantedEntityInput.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be GrantedEntityInput.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.