Class HookTarget
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HookTarget.Builder,HookTarget>
The HookTarget data type.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal HookTargetActionaction()The action that invoked the Hook.final StringThe action that invoked the Hook.static HookTarget.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends HookTarget.Builder>final StringtargetId()The unique identifier of the Hook invocation target.final HookTargetTypeThe target type.final StringThe target type.final StringThe target name, for example,AWS::S3::Bucket.final StringtoString()Returns a string representation of this object.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
-
targetType
The target type.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnHookTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The target type.
- See Also:
-
targetTypeAsString
The target type.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnHookTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The target type.
- See Also:
-
targetTypeName
The target name, for example,
AWS::S3::Bucket.- Returns:
- The target name, for example,
AWS::S3::Bucket.
-
targetId
The unique identifier of the Hook invocation target.
- Returns:
- The unique identifier of the Hook invocation target.
-
action
The action that invoked the Hook.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnHookTargetAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action that invoked the Hook.
- See Also:
-
actionAsString
The action that invoked the Hook.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnHookTargetAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action that invoked the Hook.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<HookTarget.Builder,HookTarget>
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-