Package software.amazon.awssdk.arns
Interface ArnResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ArnResource.Builder,,ArnResource> SdkBuilder<ArnResource.Builder,ArnResource>
- All Known Implementing Classes:
ArnResource.DefaultBuilder
- Enclosing class:
- ArnResource
public static interface ArnResource.Builder
extends CopyableBuilder<ArnResource.Builder,ArnResource>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Define the qualifier of the resource.Define the entire resource.resourceType(String resourceType) Define the type of the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
resourceType
Define the type of the resource.- Parameters:
resourceType- the partition that the resource is in- Returns:
- Returns a reference to this builder
-
resource
Define the entire resource.- Parameters:
resource- the entire resource- Returns:
- Returns a reference to this builder
-
qualifier
Define the qualifier of the resource.- Parameters:
qualifier- the qualifier of the resource- Returns:
- Returns a reference to this builder
-
build
ArnResource build()- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<ArnResource.Builder,ArnResource> - Returns:
- an instance of
ArnResourcethat is created from the builder
-