Class SyncResourceFilter
- java.lang.Object
-
- software.amazon.awssdk.services.iottwinmaker.model.SyncResourceFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SyncResourceFilter.Builder,SyncResourceFilter>
@Generated("software.amazon.awssdk:codegen") public final class SyncResourceFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SyncResourceFilter.Builder,SyncResourceFilter>
The sync resource filter.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSyncResourceFilter.Builderstatic classSyncResourceFilter.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyncResourceFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexternalId()The external ID.static SyncResourceFilterfromExternalId(String externalId)Create an instance of this class withexternalId()initialized to the given value.static SyncResourceFilterfromResourceId(String resourceId)Create an instance of this class withresourceId()initialized to the given value.static SyncResourceFilterfromResourceType(String resourceType)Create an instance of this class withresourceTypeAsString()initialized to the given value.static SyncResourceFilterfromResourceType(SyncResourceType resourceType)Create an instance of this class withresourceTypeAsString()initialized to the given value.static SyncResourceFilterfromState(String state)Create an instance of this class withstateAsString()initialized to the given value.static SyncResourceFilterfromState(SyncResourceState state)Create an instance of this class withstateAsString()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceId()The sync resource filter resource ID.SyncResourceTyperesourceType()The sync resource filter resource typeStringresourceTypeAsString()The sync resource filter resource typeList<SdkField<?>>sdkFields()static Class<? extends SyncResourceFilter.Builder>serializableBuilderClass()SyncResourceStatestate()The sync resource filter's state.StringstateAsString()The sync resource filter's state.SyncResourceFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.SyncResourceFilter.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
state
public final SyncResourceState state()
The sync resource filter's state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnSyncResourceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The sync resource filter's state.
- See Also:
SyncResourceState
-
stateAsString
public final String stateAsString()
The sync resource filter's state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnSyncResourceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The sync resource filter's state.
- See Also:
SyncResourceState
-
resourceType
public final SyncResourceType resourceType()
The sync resource filter resource type
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnSyncResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The sync resource filter resource type
- See Also:
SyncResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The sync resource filter resource type
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnSyncResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The sync resource filter resource type
- See Also:
SyncResourceType
-
resourceId
public final String resourceId()
The sync resource filter resource ID.
- Returns:
- The sync resource filter resource ID.
-
externalId
public final String externalId()
The external ID.
- Returns:
- The external ID.
-
toBuilder
public SyncResourceFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SyncResourceFilter.Builder,SyncResourceFilter>
-
builder
public static SyncResourceFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends SyncResourceFilter.Builder> serializableBuilderClass()
-
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.
-
fromState
public static SyncResourceFilter fromState(String state)
Create an instance of this class withstateAsString()initialized to the given value.The sync resource filter's state.
- Parameters:
state- The sync resource filter's state.- See Also:
SyncResourceState
-
fromState
public static SyncResourceFilter fromState(SyncResourceState state)
Create an instance of this class withstateAsString()initialized to the given value.The sync resource filter's state.
- Parameters:
state- The sync resource filter's state.- See Also:
SyncResourceState
-
fromResourceType
public static SyncResourceFilter fromResourceType(String resourceType)
Create an instance of this class withresourceTypeAsString()initialized to the given value.The sync resource filter resource type
- Parameters:
resourceType- The sync resource filter resource type- See Also:
SyncResourceType
-
fromResourceType
public static SyncResourceFilter fromResourceType(SyncResourceType resourceType)
Create an instance of this class withresourceTypeAsString()initialized to the given value.The sync resource filter resource type
- Parameters:
resourceType- The sync resource filter resource type- See Also:
SyncResourceType
-
fromResourceId
public static SyncResourceFilter fromResourceId(String resourceId)
Create an instance of this class withresourceId()initialized to the given value.The sync resource filter resource ID.
- Parameters:
resourceId- The sync resource filter resource ID.
-
fromExternalId
public static SyncResourceFilter fromExternalId(String externalId)
Create an instance of this class withexternalId()initialized to the given value.The external ID.
- Parameters:
externalId- The external ID.
-
type
public SyncResourceFilter.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beSyncResourceFilter.Type.UNKNOWN_TO_SDK_VERSIONif 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 beSyncResourceFilter.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-