Interface RemovePermissionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>,EventBridgeRequest.Builder,SdkBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RemovePermissionRequest
public static interface RemovePermissionRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemovePermissionRequest.BuildereventBusName(String eventBusName)The name of the event bus to revoke permissions for.RemovePermissionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RemovePermissionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RemovePermissionRequest.BuilderremoveAllPermissions(Boolean removeAllPermissions)Specifies whether to remove all permissions.RemovePermissionRequest.BuilderstatementId(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
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
statementId
RemovePermissionRequest.Builder statementId(String 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
RemovePermissionRequest.Builder removeAllPermissions(Boolean 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
RemovePermissionRequest.Builder eventBusName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RemovePermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-