@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChangeSetHookTargetDetails extends Object implements Serializable, Cloneable
Specifies target details for an activated hook.
Constructor and Description |
---|
ChangeSetHookTargetDetails() |
Modifier and Type | Method and Description |
---|---|
ChangeSetHookTargetDetails |
clone() |
boolean |
equals(Object obj) |
ChangeSetHookResourceTargetDetails |
getResourceTargetDetails()
Required if
TargetType is RESOURCE . |
String |
getTargetType()
The name of the type.
|
int |
hashCode() |
void |
setResourceTargetDetails(ChangeSetHookResourceTargetDetails resourceTargetDetails)
Required if
TargetType is RESOURCE . |
void |
setTargetType(String targetType)
The name of the type.
|
String |
toString()
Returns a string representation of this object.
|
ChangeSetHookTargetDetails |
withResourceTargetDetails(ChangeSetHookResourceTargetDetails resourceTargetDetails)
Required if
TargetType is RESOURCE . |
ChangeSetHookTargetDetails |
withTargetType(HookTargetType targetType)
The name of the type.
|
ChangeSetHookTargetDetails |
withTargetType(String targetType)
The name of the type.
|
public void setTargetType(String targetType)
The name of the type.
targetType
- The name of the type.HookTargetType
public String getTargetType()
The name of the type.
HookTargetType
public ChangeSetHookTargetDetails withTargetType(String targetType)
The name of the type.
targetType
- The name of the type.HookTargetType
public ChangeSetHookTargetDetails withTargetType(HookTargetType targetType)
The name of the type.
targetType
- The name of the type.HookTargetType
public void setResourceTargetDetails(ChangeSetHookResourceTargetDetails resourceTargetDetails)
Required if TargetType
is RESOURCE
.
resourceTargetDetails
- Required if TargetType
is RESOURCE
.public ChangeSetHookResourceTargetDetails getResourceTargetDetails()
Required if TargetType
is RESOURCE
.
TargetType
is RESOURCE
.public ChangeSetHookTargetDetails withResourceTargetDetails(ChangeSetHookResourceTargetDetails resourceTargetDetails)
Required if TargetType
is RESOURCE
.
resourceTargetDetails
- Required if TargetType
is RESOURCE
.public String toString()
toString
in class Object
Object.toString()
public ChangeSetHookTargetDetails clone()