Interface ResourceTypeRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceTypeRequest.Builder,,ResourceTypeRequest> SdkBuilder<ResourceTypeRequest.Builder,,ResourceTypeRequest> SdkPojo
- Enclosing class:
- ResourceTypeRequest
@Mutable
@NotThreadSafe
public static interface ResourceTypeRequest.Builder
extends SdkPojo, CopyableBuilder<ResourceTypeRequest.Builder,ResourceTypeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionresourceType(String resourceType) The resource type.resourceType(ImageReferenceResourceType resourceType) The resource type.resourceTypeOptions(Collection<ResourceTypeOption> resourceTypeOptions) The options that affect the scope of the response.resourceTypeOptions(Consumer<ResourceTypeOption.Builder>... resourceTypeOptions) The options that affect the scope of the response.resourceTypeOptions(ResourceTypeOption... resourceTypeOptions) The options that affect the scope of the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceType
The resource type.
- Parameters:
resourceType- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The resource type.
- Parameters:
resourceType- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceTypeOptions
The options that affect the scope of the response. Valid only when
ResourceTypeisec2:Instanceorec2:LaunchTemplate.- Parameters:
resourceTypeOptions- The options that affect the scope of the response. Valid only whenResourceTypeisec2:Instanceorec2:LaunchTemplate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypeOptions
The options that affect the scope of the response. Valid only when
ResourceTypeisec2:Instanceorec2:LaunchTemplate.- Parameters:
resourceTypeOptions- The options that affect the scope of the response. Valid only whenResourceTypeisec2:Instanceorec2:LaunchTemplate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypeOptions
ResourceTypeRequest.Builder resourceTypeOptions(Consumer<ResourceTypeOption.Builder>... resourceTypeOptions) The options that affect the scope of the response. Valid only when
This is a convenience method that creates an instance of theResourceTypeisec2:Instanceorec2:LaunchTemplate.ResourceTypeOption.Builderavoiding the need to create one manually viaResourceTypeOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceTypeOptions(List<ResourceTypeOption>).- Parameters:
resourceTypeOptions- a consumer that will call methods onResourceTypeOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-