Class SyncResourceFilter
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SyncResourceFilter.Builder,SyncResourceFilter>
The sync resource filter.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncResourceFilter.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe 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 SyncResourceFilterCreate 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.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe sync resource filter resource ID.final SyncResourceTypeThe sync resource filter resource typefinal StringThe sync resource filter resource typestatic Class<? extends SyncResourceFilter.Builder>final SyncResourceStatestate()The sync resource filter's state.final StringThe sync resource filter's state.final StringtoString()Returns a string representation of this object.type()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, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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:
-
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:
-
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:
-
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:
-
resourceId
The sync resource filter resource ID.
- Returns:
- The sync resource filter resource ID.
-
externalId
The external ID.
- Returns:
- The external ID.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SyncResourceFilter.Builder,SyncResourceFilter>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
fromState
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:
-
fromState
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:
-
fromResourceType
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:
-
fromResourceType
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:
-
fromResourceId
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
Create an instance of this class withexternalId()initialized to the given value.The external ID.
- Parameters:
externalId- The external ID.
-
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. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-