@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchStartViewerSessionRevocationViewerSession extends Object implements Serializable, Cloneable, StructuredPojo
A viewer session to revoke in the call to BatchStartViewerSessionRevocation.
Constructor and Description |
---|
BatchStartViewerSessionRevocationViewerSession() |
Modifier and Type | Method and Description |
---|---|
BatchStartViewerSessionRevocationViewerSession |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel associated with the viewer session to revoke.
|
String |
getViewerId()
The ID of the viewer associated with the viewer session to revoke.
|
Integer |
getViewerSessionVersionsLessThanOrEqualTo()
An optional filter on which versions of the viewer session to revoke.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelArn(String channelArn)
The ARN of the channel associated with the viewer session to revoke.
|
void |
setViewerId(String viewerId)
The ID of the viewer associated with the viewer session to revoke.
|
void |
setViewerSessionVersionsLessThanOrEqualTo(Integer viewerSessionVersionsLessThanOrEqualTo)
An optional filter on which versions of the viewer session to revoke.
|
String |
toString()
Returns a string representation of this object.
|
BatchStartViewerSessionRevocationViewerSession |
withChannelArn(String channelArn)
The ARN of the channel associated with the viewer session to revoke.
|
BatchStartViewerSessionRevocationViewerSession |
withViewerId(String viewerId)
The ID of the viewer associated with the viewer session to revoke.
|
BatchStartViewerSessionRevocationViewerSession |
withViewerSessionVersionsLessThanOrEqualTo(Integer viewerSessionVersionsLessThanOrEqualTo)
An optional filter on which versions of the viewer session to revoke.
|
public BatchStartViewerSessionRevocationViewerSession()
public void setChannelArn(String channelArn)
The ARN of the channel associated with the viewer session to revoke.
channelArn
- The ARN of the channel associated with the viewer session to revoke.public String getChannelArn()
The ARN of the channel associated with the viewer session to revoke.
public BatchStartViewerSessionRevocationViewerSession withChannelArn(String channelArn)
The ARN of the channel associated with the viewer session to revoke.
channelArn
- The ARN of the channel associated with the viewer session to revoke.public void setViewerId(String viewerId)
The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.
viewerId
- The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally
identifying, confidential, or sensitive information.public String getViewerId()
The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.
public BatchStartViewerSessionRevocationViewerSession withViewerId(String viewerId)
The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.
viewerId
- The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally
identifying, confidential, or sensitive information.public void setViewerSessionVersionsLessThanOrEqualTo(Integer viewerSessionVersionsLessThanOrEqualTo)
An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.
viewerSessionVersionsLessThanOrEqualTo
- An optional filter on which versions of the viewer session to revoke. All versions less than or equal to
the specified version will be revoked. Default: 0.public Integer getViewerSessionVersionsLessThanOrEqualTo()
An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.
public BatchStartViewerSessionRevocationViewerSession withViewerSessionVersionsLessThanOrEqualTo(Integer viewerSessionVersionsLessThanOrEqualTo)
An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.
viewerSessionVersionsLessThanOrEqualTo
- An optional filter on which versions of the viewer session to revoke. All versions less than or equal to
the specified version will be revoked. Default: 0.public String toString()
toString
in class Object
Object.toString()
public BatchStartViewerSessionRevocationViewerSession clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.