Interface ResourceMapping.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceMapping.Builder,ResourceMapping>,SdkBuilder<ResourceMapping.Builder,ResourceMapping>,SdkPojo
- Enclosing class:
- ResourceMapping
public static interface ResourceMapping.Builder extends SdkPojo, CopyableBuilder<ResourceMapping.Builder,ResourceMapping>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResourceMapping.Builderdestination(Consumer<ResourceLocation.Builder> destination)The destination stackStackNameandLogicalResourceIdfor the resource being refactored.ResourceMapping.Builderdestination(ResourceLocation destination)The destination stackStackNameandLogicalResourceIdfor the resource being refactored.default ResourceMapping.Buildersource(Consumer<ResourceLocation.Builder> source)The source stackStackNameandLogicalResourceIdfor the resource being refactored.ResourceMapping.Buildersource(ResourceLocation source)The source stackStackNameandLogicalResourceIdfor the resource being refactored.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
source
ResourceMapping.Builder source(ResourceLocation source)
The source stack
StackNameandLogicalResourceIdfor the resource being refactored.- Parameters:
source- The source stackStackNameandLogicalResourceIdfor the resource being refactored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default ResourceMapping.Builder source(Consumer<ResourceLocation.Builder> source)
The source stack
This is a convenience method that creates an instance of theStackNameandLogicalResourceIdfor the resource being refactored.ResourceLocation.Builderavoiding the need to create one manually viaResourceLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(ResourceLocation).- Parameters:
source- a consumer that will call methods onResourceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(ResourceLocation)
-
destination
ResourceMapping.Builder destination(ResourceLocation destination)
The destination stack
StackNameandLogicalResourceIdfor the resource being refactored.- Parameters:
destination- The destination stackStackNameandLogicalResourceIdfor the resource being refactored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default ResourceMapping.Builder destination(Consumer<ResourceLocation.Builder> destination)
The destination stack
This is a convenience method that creates an instance of theStackNameandLogicalResourceIdfor the resource being refactored.ResourceLocation.Builderavoiding the need to create one manually viaResourceLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(ResourceLocation).- Parameters:
destination- a consumer that will call methods onResourceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destination(ResourceLocation)
-
-