Interface GetSpaceDataAccessRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<GetSpaceDataAccessRequest.Builder,,GetSpaceDataAccessRequest> SdkBuilder<GetSpaceDataAccessRequest.Builder,,GetSpaceDataAccessRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetSpaceDataAccessRequest
@Mutable
@NotThreadSafe
public static interface GetSpaceDataAccessRequest.Builder
extends CloudWatchOmniRequest.Builder, SdkPojo, CopyableBuilder<GetSpaceDataAccessRequest.Builder,GetSpaceDataAccessRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauditContext(Map<String, String> auditContext) Caller-supplied key-value pairs that are recorded for auditing.durationSeconds(Integer durationSeconds) The lifetime of the credentials, in seconds.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique ID of the space to return credentials for.targetScopes(Collection<DataAccessTarget> targetScopes) The actions to include in the credentials, grouped by service.targetScopes(Consumer<DataAccessTarget.Builder>... targetScopes) The actions to include in the credentials, grouped by service.targetScopes(DataAccessTarget... targetScopes) The actions to include in the credentials, grouped by service.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniRequest.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
-
spaceId
The unique ID of the space to return credentials for.
- Parameters:
spaceId- The unique ID of the space to return credentials for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetScopes
The actions to include in the credentials, grouped by service.
- Parameters:
targetScopes- The actions to include in the credentials, grouped by service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetScopes
The actions to include in the credentials, grouped by service.
- Parameters:
targetScopes- The actions to include in the credentials, grouped by service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetScopes
The actions to include in the credentials, grouped by service.
This is a convenience method that creates an instance of theDataAccessTarget.Builderavoiding the need to create one manually viaDataAccessTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetScopes(List<DataAccessTarget>).- Parameters:
targetScopes- a consumer that will call methods onDataAccessTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
durationSeconds
The lifetime of the credentials, in seconds. Defaults to 3600.
- Parameters:
durationSeconds- The lifetime of the credentials, in seconds. Defaults to 3600.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditContext
Caller-supplied key-value pairs that are recorded for auditing. They do not affect authorization or the permissions of the credentials.
- Parameters:
auditContext- Caller-supplied key-value pairs that are recorded for auditing. They do not affect authorization or the permissions of the credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetSpaceDataAccessRequest.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
GetSpaceDataAccessRequest.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.
-