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) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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
overrideConfigurationMethods 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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartAccessRequestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-