Interface StartAccessRequestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartAccessRequestRequest.Builder,
,StartAccessRequestRequest> SdkBuilder<StartAccessRequestRequest.Builder,
,StartAccessRequestRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
StartAccessRequestRequest
@Mutable
@NotThreadSafe
public static interface StartAccessRequestRequest.Builder
extends SsmRequest.Builder, SdkPojo, CopyableBuilder<StartAccessRequestRequest.Builder,StartAccessRequestRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A brief description explaining why you are requesting access to the node.tags
(Collection<Tag> tags) Key-value pairs of metadata you want to assign to the access request.tags
(Consumer<Tag.Builder>... tags) Key-value pairs of metadata you want to assign to the access request.Key-value pairs of metadata you want to assign to the access request.targets
(Collection<Target> targets) The node you are requesting access to.targets
(Consumer<Target.Builder>... targets) The node you are requesting access to.The node you are requesting access to.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
reason
A brief description explaining why you are requesting access to the node.
- Parameters:
reason
- A brief description explaining why you are requesting access to the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The node you are requesting access to.
- Parameters:
targets
- The node you are requesting access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The node you are requesting access to.
- Parameters:
targets
- The node you are requesting access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The node you are requesting access to.
This is a convenience method that creates an instance of theTarget.Builder
avoiding the need to create one manually viaTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(List<Target>)
.- Parameters:
targets
- a consumer that will call methods onTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Key-value pairs of metadata you want to assign to the access request.
- Parameters:
tags
- Key-value pairs of metadata you want to assign to the access request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs of metadata you want to assign to the access request.
- Parameters:
tags
- Key-value pairs of metadata you want to assign to the access request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs of metadata you want to assign to the access request.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartAccessRequestRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartAccessRequestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-