Interface NonCompliantResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NonCompliantResource.Builder,
,NonCompliantResource> SdkBuilder<NonCompliantResource.Builder,
,NonCompliantResource> SdkPojo
- Enclosing class:
NonCompliantResource
public static interface NonCompliantResource.Builder
extends SdkPojo, CopyableBuilder<NonCompliantResource.Builder,NonCompliantResource>
-
Method Summary
Modifier and TypeMethodDescriptionadditionalInfo
(Map<String, String> additionalInfo) Other information about the noncompliant resource.default NonCompliantResource.Builder
resourceIdentifier
(Consumer<ResourceIdentifier.Builder> resourceIdentifier) Information that identifies the noncompliant resource.resourceIdentifier
(ResourceIdentifier resourceIdentifier) Information that identifies the noncompliant resource.resourceType
(String resourceType) The type of the noncompliant resource.resourceType
(ResourceType resourceType) The type of the noncompliant resource.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, sdkFields
-
Method Details
-
resourceType
The type of the noncompliant resource.
- Parameters:
resourceType
- The type of the noncompliant resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of the noncompliant resource.
- Parameters:
resourceType
- The type of the noncompliant resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceIdentifier
Information that identifies the noncompliant resource.
- Parameters:
resourceIdentifier
- Information that identifies the noncompliant resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
default NonCompliantResource.Builder resourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier) Information that identifies the noncompliant resource.
This is a convenience method that creates an instance of theResourceIdentifier.Builder
avoiding the need to create one manually viaResourceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceIdentifier(ResourceIdentifier)
.- Parameters:
resourceIdentifier
- a consumer that will call methods onResourceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalInfo
Other information about the noncompliant resource.
- Parameters:
additionalInfo
- Other information about the noncompliant resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-