Interface RemovePermissionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchEventsRequest.Builder,CopyableBuilder<RemovePermissionRequest.Builder,,RemovePermissionRequest> SdkBuilder<RemovePermissionRequest.Builder,,RemovePermissionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RemovePermissionRequest
@Mutable
@NotThreadSafe
public static interface RemovePermissionRequest.Builder
extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>
-
Method Summary
Modifier and TypeMethodDescriptioneventBusName(String eventBusName) The name of the event bus to revoke permissions for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeAllPermissions(Boolean removeAllPermissions) Specifies whether to remove all permissions.statementId(String statementId) The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchevents.model.CloudWatchEventsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
statementId
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
- Parameters:
statementId- The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAllPermissions
Specifies whether to remove all permissions.
- Parameters:
removeAllPermissions- Specifies whether to remove all permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBusName
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
- Parameters:
eventBusName- The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RemovePermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RemovePermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-