Interface ExtensionDefaults.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExtensionDefaults.Builder,,ExtensionDefaults> SdkBuilder<ExtensionDefaults.Builder,,ExtensionDefaults> SdkPojo
- Enclosing class:
ExtensionDefaults
@Mutable
@NotThreadSafe
public static interface ExtensionDefaults.Builder
extends SdkPojo, CopyableBuilder<ExtensionDefaults.Builder,ExtensionDefaults>
-
Method Summary
Modifier and TypeMethodDescriptionexecutionRole(String executionRole) The IAM role an extension should assume when calling AWS services.default ExtensionDefaults.BuilderinterfaceDefaults(Consumer<InterfaceDefaults.Builder> interfaceDefaults) Default options for the interfaces of the extensions in this profile, by interface type.interfaceDefaults(InterfaceDefaults interfaceDefaults) Default options for the interfaces of the extensions in this profile, by interface type.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
-
executionRole
The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.
- Parameters:
executionRole- The IAM role an extension should assume when calling AWS services. This role must be assumable by the Cloud Extensions Runtime's principal. On update, an empty string removes the default role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceDefaults
Default options for the interfaces of the extensions in this profile, by interface type.
- Parameters:
interfaceDefaults- Default options for the interfaces of the extensions in this profile, by interface type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceDefaults
default ExtensionDefaults.Builder interfaceDefaults(Consumer<InterfaceDefaults.Builder> interfaceDefaults) Default options for the interfaces of the extensions in this profile, by interface type.
This is a convenience method that creates an instance of theInterfaceDefaults.Builderavoiding the need to create one manually viaInterfaceDefaults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointerfaceDefaults(InterfaceDefaults).- Parameters:
interfaceDefaults- a consumer that will call methods onInterfaceDefaults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-