Interface CreateGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateGroupRequest.Builder,,CreateGroupRequest> GreengrassRequest.Builder,SdkBuilder<CreateGroupRequest.Builder,,CreateGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateGroupRequest
public static interface CreateGroupRequest.Builder
extends GreengrassRequest.Builder, SdkPojo, CopyableBuilder<CreateGroupRequest.Builder,CreateGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptionamznClientToken(String amznClientToken) A client token used to correlate requests and responses.default CreateGroupRequest.BuilderinitialVersion(Consumer<GroupVersion.Builder> initialVersion) Information about the initial version of the group.initialVersion(GroupVersion initialVersion) Information about the initial version of the group.The name of the group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tag(s) to add to the new resource.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.services.greengrass.model.GreengrassRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
amznClientToken
A client token used to correlate requests and responses.- Parameters:
amznClientToken- A client token used to correlate requests and responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialVersion
Information about the initial version of the group.- Parameters:
initialVersion- Information about the initial version of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialVersion
Information about the initial version of the group. This is a convenience method that creates an instance of theGroupVersion.Builderavoiding the need to create one manually viaGroupVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinitialVersion(GroupVersion).- Parameters:
initialVersion- a consumer that will call methods onGroupVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the group.- Parameters:
name- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tag(s) to add to the new resource.- Parameters:
tags- Tag(s) to add to the new resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateGroupRequest.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
CreateGroupRequest.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.
-