@Generated(value="software.amazon.awssdk:codegen") public final class RulesPackage extends Object implements StructuredPojo, ToCopyableBuilder<RulesPackage.Builder,RulesPackage>
Contains information about an Amazon Inspector rules package. This data type is used as the response element in the DescribeRulesPackages action.
Modifier and Type | Class and Description |
---|---|
static interface |
RulesPackage.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The ARN of the rules package.
|
static RulesPackage.Builder |
builder() |
String |
description()
The description of the rules package.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the rules package.
|
String |
provider()
The provider of the rules package.
|
static Class<? extends RulesPackage.Builder> |
serializableBuilderClass() |
RulesPackage.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The version ID of the rules package.
|
copy
public String arn()
The ARN of the rules package.
public String name()
The name of the rules package.
public String version()
The version ID of the rules package.
public String provider()
The provider of the rules package.
public String description()
The description of the rules package.
public RulesPackage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RulesPackage.Builder,RulesPackage>
public static RulesPackage.Builder builder()
public static Class<? extends RulesPackage.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.