Interface ResourceState.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ResourceState.Builder,,- ResourceState> - SdkBuilder<ResourceState.Builder,,- ResourceState> - SdkPojo
- Enclosing class:
- ResourceState
- 
Method SummaryModifier and TypeMethodDescriptiondefault ResourceState.BuildercodeRepository(Consumer<State.Builder> codeRepository) Sets the value of the CodeRepository property for this object.codeRepository(State codeRepository) Sets the value of the CodeRepository property for this object.default ResourceState.Builderec2(Consumer<State.Builder> ec2) An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.default ResourceState.Builderecr(Consumer<State.Builder> ecr) An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.default ResourceState.Builderlambda(Consumer<State.Builder> lambda) An object that described the state of Amazon Inspector scans for an account.An object that described the state of Amazon Inspector scans for an account.default ResourceState.BuilderlambdaCode(Consumer<State.Builder> lambdaCode) An object that described the state of Amazon Inspector scans for an account.lambdaCode(State lambdaCode) An object that described the state of Amazon Inspector scans for an account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
ec2An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources. - Parameters:
- ec2- An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ec2An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources. This is a convenience method that creates an instance of theState.Builderavoiding the need to create one manually viaState.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2(State).- Parameters:
- ec2- a consumer that will call methods on- State.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ecrAn object detailing the state of Amazon Inspector scanning for Amazon ECR resources. - Parameters:
- ecr- An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
ecrAn object detailing the state of Amazon Inspector scanning for Amazon ECR resources. This is a convenience method that creates an instance of theState.Builderavoiding the need to create one manually viaState.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecr(State).- Parameters:
- ecr- a consumer that will call methods on- State.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lambdaAn object that described the state of Amazon Inspector scans for an account. - Parameters:
- lambda- An object that described the state of Amazon Inspector scans for an account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lambdaAn object that described the state of Amazon Inspector scans for an account. This is a convenience method that creates an instance of theState.Builderavoiding the need to create one manually viaState.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambda(State).- Parameters:
- lambda- a consumer that will call methods on- State.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lambdaCodeAn object that described the state of Amazon Inspector scans for an account. - Parameters:
- lambdaCode- An object that described the state of Amazon Inspector scans for an account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lambdaCodeAn object that described the state of Amazon Inspector scans for an account. This is a convenience method that creates an instance of theState.Builderavoiding the need to create one manually viaState.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaCode(State).- Parameters:
- lambdaCode- a consumer that will call methods on- State.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
codeRepositorySets the value of the CodeRepository property for this object.- Parameters:
- codeRepository- The new value for the CodeRepository property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
codeRepositorySets the value of the CodeRepository property for this object. This is a convenience method that creates an instance of theState.Builderavoiding the need to create one manually viaState.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeRepository(State).- Parameters:
- codeRepository- a consumer that will call methods on- State.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-