Interface UserData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserData.Builder,
,UserData> SdkBuilder<UserData.Builder,
,UserData> SdkPojo
- Enclosing class:
UserData
public static interface UserData.Builder
extends SdkPojo, CopyableBuilder<UserData.Builder,UserData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UserData.Builder
s3Location
(Consumer<S3Location.Builder> s3Location) Amazon S3 location of the user-data script.s3Location
(S3Location s3Location) Amazon S3 location of the user-data script.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, sdkFields
-
Method Details
-
s3Location
Amazon S3 location of the user-data script.
- Parameters:
s3Location
- Amazon S3 location of the user-data script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
Amazon S3 location of the user-data script.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Location(S3Location)
.- Parameters:
s3Location
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-