public static interface Resource.Builder extends CopyableBuilder<Resource.Builder,Resource>
| Modifier and Type | Method and Description |
|---|---|
default Resource.Builder |
instanceDetails(Consumer<InstanceDetails.Builder> instanceDetails)
Sets the value of the InstanceDetails property for this object.
|
Resource.Builder |
instanceDetails(InstanceDetails instanceDetails)
Sets the value of the InstanceDetails property for this object.
|
Resource.Builder |
resourceType(String resourceType)
The type of the AWS resource.
|
copyapply, buildResource.Builder instanceDetails(InstanceDetails instanceDetails)
instanceDetails - The new value for the InstanceDetails property for this object.default Resource.Builder instanceDetails(Consumer<InstanceDetails.Builder> instanceDetails)
InstanceDetails.Builder avoiding the need to
create one manually via InstanceDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to instanceDetails(InstanceDetails).instanceDetails - a consumer that will call methods on InstanceDetails.BuilderinstanceDetails(InstanceDetails)Resource.Builder resourceType(String resourceType)
resourceType - The type of the AWS resource.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.