@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelBanResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateChannelBanResult() |
Modifier and Type | Method and Description |
---|---|
CreateChannelBanResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the response to the ban request.
|
Identity |
getMember()
The
ChannelArn and BannedIdentity of the member in the ban response. |
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the response to the ban request.
|
void |
setMember(Identity member)
The
ChannelArn and BannedIdentity of the member in the ban response. |
String |
toString()
Returns a string representation of this object.
|
CreateChannelBanResult |
withChannelArn(String channelArn)
The ARN of the response to the ban request.
|
CreateChannelBanResult |
withMember(Identity member)
The
ChannelArn and BannedIdentity of the member in the ban response. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setChannelArn(String channelArn)
The ARN of the response to the ban request.
channelArn
- The ARN of the response to the ban request.public String getChannelArn()
The ARN of the response to the ban request.
public CreateChannelBanResult withChannelArn(String channelArn)
The ARN of the response to the ban request.
channelArn
- The ARN of the response to the ban request.public void setMember(Identity member)
The ChannelArn
and BannedIdentity
of the member in the ban response.
member
- The ChannelArn
and BannedIdentity
of the member in the ban response.public Identity getMember()
The ChannelArn
and BannedIdentity
of the member in the ban response.
ChannelArn
and BannedIdentity
of the member in the ban response.public CreateChannelBanResult withMember(Identity member)
The ChannelArn
and BannedIdentity
of the member in the ban response.
member
- The ChannelArn
and BannedIdentity
of the member in the ban response.public String toString()
toString
in class Object
Object.toString()
public CreateChannelBanResult clone()