@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemovePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RemovePermissionRequest() |
Modifier and Type | Method and Description |
---|---|
RemovePermissionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEventBusName()
The name of the event bus to revoke permissions for.
|
Boolean |
getRemoveAllPermissions()
Specifies whether to remove all permissions.
|
String |
getStatementId()
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
|
int |
hashCode() |
Boolean |
isRemoveAllPermissions()
Specifies whether to remove all permissions.
|
void |
setEventBusName(String eventBusName)
The name of the event bus to revoke permissions for.
|
void |
setRemoveAllPermissions(Boolean removeAllPermissions)
Specifies whether to remove all permissions.
|
void |
setStatementId(String statementId)
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
|
String |
toString()
Returns a string representation of this object.
|
RemovePermissionRequest |
withEventBusName(String eventBusName)
The name of the event bus to revoke permissions for.
|
RemovePermissionRequest |
withRemoveAllPermissions(Boolean removeAllPermissions)
Specifies whether to remove all permissions.
|
RemovePermissionRequest |
withStatementId(String statementId)
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStatementId(String statementId)
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
statementId
- The statement ID corresponding to the account that is no longer allowed to put events to the default event
bus.public String getStatementId()
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
public RemovePermissionRequest withStatementId(String statementId)
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
statementId
- The statement ID corresponding to the account that is no longer allowed to put events to the default event
bus.public void setRemoveAllPermissions(Boolean removeAllPermissions)
Specifies whether to remove all permissions.
removeAllPermissions
- Specifies whether to remove all permissions.public Boolean getRemoveAllPermissions()
Specifies whether to remove all permissions.
public RemovePermissionRequest withRemoveAllPermissions(Boolean removeAllPermissions)
Specifies whether to remove all permissions.
removeAllPermissions
- Specifies whether to remove all permissions.public Boolean isRemoveAllPermissions()
Specifies whether to remove all permissions.
public void setEventBusName(String eventBusName)
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
eventBusName
- The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.public String getEventBusName()
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
public RemovePermissionRequest withEventBusName(String eventBusName)
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
eventBusName
- The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.public String toString()
toString
in class Object
Object.toString()
public RemovePermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()