public static interface ResourceState.Builder extends SdkPojo, CopyableBuilder<ResourceState.Builder,ResourceState>
| Modifier and Type | Method and Description |
|---|---|
default ResourceState.Builder |
ec2(Consumer<State.Builder> ec2)
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
|
ResourceState.Builder |
ec2(State ec2)
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
|
default ResourceState.Builder |
ecr(Consumer<State.Builder> ecr)
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
|
ResourceState.Builder |
ecr(State ecr)
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResourceState.Builder ec2(State ec2)
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
ec2 - An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.default ResourceState.Builder ec2(Consumer<State.Builder> ec2)
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
This is a convenience method that creates an instance of theState.Builder avoiding the need to
create one manually via State.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to ec2(State).
ec2 - a consumer that will call methods on State.Builderec2(State)ResourceState.Builder ecr(State ecr)
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
ecr - An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.default ResourceState.Builder ecr(Consumer<State.Builder> ecr)
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
This is a convenience method that creates an instance of theState.Builder avoiding the need to
create one manually via State.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to ecr(State).
ecr - a consumer that will call methods on State.Builderecr(State)Copyright © 2022. All rights reserved.