public static interface CreateStackRequest.Builder extends AppStreamRequest.Builder, CopyableBuilder<CreateStackRequest.Builder,CreateStackRequest>
build
overrideConfiguration
copy
applyMutation, build
CreateStackRequest.Builder name(String name)
The name of the stack.
name
- The name of the stack.CreateStackRequest.Builder description(String description)
The description displayed to end users.
description
- The description displayed to end users.CreateStackRequest.Builder displayName(String displayName)
The stack name displayed to end users.
displayName
- The stack name displayed to end users.CreateStackRequest.Builder storageConnectors(Collection<StorageConnector> storageConnectors)
The storage connectors to enable.
storageConnectors
- The storage connectors to enable.CreateStackRequest.Builder storageConnectors(StorageConnector... storageConnectors)
The storage connectors to enable.
storageConnectors
- The storage connectors to enable.CreateStackRequest.Builder storageConnectors(Consumer<StorageConnector.Builder>... storageConnectors)
The storage connectors to enable.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #storageConnectors(List)
.storageConnectors
- a consumer that will call methods on List.Builder
#storageConnectors(List)
CreateStackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateStackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.