public static interface UserData.Builder extends SdkPojo, CopyableBuilder<UserData.Builder,UserData>
Modifier and Type | Method and Description |
---|---|
default UserData.Builder |
s3Location(Consumer<S3Location.Builder> s3Location)
Amazon S3 location of the user-data script.
|
UserData.Builder |
s3Location(S3Location s3Location)
Amazon S3 location of the user-data script.
|
copy
applyMutation, build
UserData.Builder s3Location(S3Location s3Location)
Amazon S3 location of the user-data script.
s3Location
- Amazon S3 location of the user-data script.default UserData.Builder s3Location(Consumer<S3Location.Builder> s3Location)
Amazon S3 location of the user-data script.
This is a convenience that creates an instance of theS3Location.Builder
avoiding the need to create
one manually via S3Location.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to s3Location(S3Location)
.s3Location
- a consumer that will call methods on S3Location.Builder
s3Location(S3Location)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.