StructuredPojo
, ToCopyableBuilder<Rule.Builder,Rule>
@Generated("software.amazon.awssdk:codegen") public class Rule extends Object implements StructuredPojo, ToCopyableBuilder<Rule.Builder,Rule>
Contains an Amazon Resource Name (ARN) and parameters that are associated with the rule.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Rule.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Rule.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Map<String,String> |
parameters() |
The minimum and maximum parameters that are associated with the rule.
|
static Class<? extends Rule.Builder> |
serializableBuilderClass() |
|
Rule.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The type of attribute validation rule.
|
public String type()
The type of attribute validation rule.
RuleType
public Map<String,String> parameters()
The minimum and maximum parameters that are associated with the rule.
public Rule.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Rule.Builder,Rule>
public static Rule.Builder builder()
public static Class<? extends Rule.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.