Interface CapabilityDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapabilityDefinition.Builder,,CapabilityDefinition> SdkBuilder<CapabilityDefinition.Builder,,CapabilityDefinition> SdkPojo
- Enclosing class:
CapabilityDefinition
@Mutable
@NotThreadSafe
public static interface CapabilityDefinition.Builder
extends SdkPojo, CopyableBuilder<CapabilityDefinition.Builder,CapabilityDefinition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CapabilityDefinition.BuilderPermission to call AWS service APIs.aws(AwsServiceCapability aws) Permission to call AWS service APIs.default CapabilityDefinition.Builderexec(Consumer<ExecCapability.Builder> exec) Permission to execute a host command.exec(ExecCapability exec) Permission to execute a host command.default CapabilityDefinition.Builderfilesystem(Consumer<FileSystemCapability.Builder> filesystem) Access to the host filesystem.filesystem(FileSystemCapability filesystem) Access to the host filesystem.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
-
filesystem
Access to the host filesystem.
- Parameters:
filesystem- Access to the host filesystem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesystem
Access to the host filesystem.
This is a convenience method that creates an instance of theFileSystemCapability.Builderavoiding the need to create one manually viaFileSystemCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilesystem(FileSystemCapability).- Parameters:
filesystem- a consumer that will call methods onFileSystemCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aws
Permission to call AWS service APIs.
- Parameters:
aws- Permission to call AWS service APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aws
Permission to call AWS service APIs.
This is a convenience method that creates an instance of theAwsServiceCapability.Builderavoiding the need to create one manually viaAwsServiceCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaws(AwsServiceCapability).- Parameters:
aws- a consumer that will call methods onAwsServiceCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exec
Permission to execute a host command.
- Parameters:
exec- Permission to execute a host command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exec
Permission to execute a host command.
This is a convenience method that creates an instance of theExecCapability.Builderavoiding the need to create one manually viaExecCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexec(ExecCapability).- Parameters:
exec- a consumer that will call methods onExecCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-