Class GetTokenBalanceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryRequest
-
- software.amazon.awssdk.services.managedblockchainquery.model.GetTokenBalanceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetTokenBalanceRequest.Builder,GetTokenBalanceRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetTokenBalanceRequest extends ManagedBlockchainQueryRequest implements ToCopyableBuilder<GetTokenBalanceRequest.Builder,GetTokenBalanceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetTokenBalanceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockchainInstantatBlockchainInstant()The time for when the TokenBalance is requested or the current time if a time is not provided in the request.static GetTokenBalanceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OwnerIdentifierownerIdentifier()The container for the identifier for the owner.List<SdkField<?>>sdkFields()static Class<? extends GetTokenBalanceRequest.Builder>serializableBuilderClass()GetTokenBalanceRequest.BuildertoBuilder()TokenIdentifiertokenIdentifier()The container for the identifier for the token, including the unique token ID and its blockchain network.StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
tokenIdentifier
public final TokenIdentifier tokenIdentifier()
The container for the identifier for the token, including the unique token ID and its blockchain network.
- Returns:
- The container for the identifier for the token, including the unique token ID and its blockchain network.
-
ownerIdentifier
public final OwnerIdentifier ownerIdentifier()
The container for the identifier for the owner.
- Returns:
- The container for the identifier for the owner.
-
atBlockchainInstant
public final BlockchainInstant atBlockchainInstant()
The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
This time will only be recorded up to the second.
- Returns:
- The time for when the TokenBalance is requested or the current time if a time is not provided in the
request.
This time will only be recorded up to the second.
-
toBuilder
public GetTokenBalanceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetTokenBalanceRequest.Builder,GetTokenBalanceRequest>- Specified by:
toBuilderin classManagedBlockchainQueryRequest
-
builder
public static GetTokenBalanceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetTokenBalanceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-