Class RemovePermissionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest
-
- software.amazon.awssdk.services.eventbridge.model.RemovePermissionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>
@Generated("software.amazon.awssdk:codegen") public final class RemovePermissionRequest extends EventBridgeRequest implements ToCopyableBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRemovePermissionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemovePermissionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventBusName()The name of the event bus to revoke permissions for.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanremoveAllPermissions()Specifies whether to remove all permissions.List<SdkField<?>>sdkFields()static Class<? extends RemovePermissionRequest.Builder>serializableBuilderClass()StringstatementId()The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.RemovePermissionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
statementId
public final String statementId()
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
- Returns:
- The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
-
removeAllPermissions
public final Boolean removeAllPermissions()
Specifies whether to remove all permissions.
- Returns:
- Specifies whether to remove all permissions.
-
eventBusName
public final String eventBusName()
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
- Returns:
- The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
-
toBuilder
public RemovePermissionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>- Specified by:
toBuilderin classEventBridgeRequest
-
builder
public static RemovePermissionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RemovePermissionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-