@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Standard extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a specific standard.
Constructor and Description |
---|
Standard() |
Modifier and Type | Method and Description |
---|---|
Standard |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the standard.
|
Boolean |
getEnabledByDefault()
Whether the standard is enabled by default.
|
String |
getName()
The name of the standard.
|
String |
getStandardsArn()
The ARN of a standard.
|
int |
hashCode() |
Boolean |
isEnabledByDefault()
Whether the standard is enabled by default.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description of the standard.
|
void |
setEnabledByDefault(Boolean enabledByDefault)
Whether the standard is enabled by default.
|
void |
setName(String name)
The name of the standard.
|
void |
setStandardsArn(String standardsArn)
The ARN of a standard.
|
String |
toString()
Returns a string representation of this object.
|
Standard |
withDescription(String description)
A description of the standard.
|
Standard |
withEnabledByDefault(Boolean enabledByDefault)
Whether the standard is enabled by default.
|
Standard |
withName(String name)
The name of the standard.
|
Standard |
withStandardsArn(String standardsArn)
The ARN of a standard.
|
public void setStandardsArn(String standardsArn)
The ARN of a standard.
standardsArn
- The ARN of a standard.public String getStandardsArn()
The ARN of a standard.
public Standard withStandardsArn(String standardsArn)
The ARN of a standard.
standardsArn
- The ARN of a standard.public void setName(String name)
The name of the standard.
name
- The name of the standard.public String getName()
The name of the standard.
public Standard withName(String name)
The name of the standard.
name
- The name of the standard.public void setDescription(String description)
A description of the standard.
description
- A description of the standard.public String getDescription()
A description of the standard.
public Standard withDescription(String description)
A description of the standard.
description
- A description of the standard.public void setEnabledByDefault(Boolean enabledByDefault)
Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is enabled by
default unless EnableDefaultStandards
is set to false
.
enabledByDefault
- Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard
is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is
enabled by default unless EnableDefaultStandards
is set to false
.
public Boolean getEnabledByDefault()
Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is enabled by
default unless EnableDefaultStandards
is set to false
.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is
enabled by default unless EnableDefaultStandards
is set to false
.
public Standard withEnabledByDefault(Boolean enabledByDefault)
Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is enabled by
default unless EnableDefaultStandards
is set to false
.
enabledByDefault
- Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard
is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is
enabled by default unless EnableDefaultStandards
is set to false
.
public Boolean isEnabledByDefault()
Whether the standard is enabled by default. When Security Hub is enabled from the console, if a standard is enabled by default, the check box for that standard is selected by default.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is enabled by
default unless EnableDefaultStandards
is set to false
.
When Security Hub is enabled using the EnableSecurityHub
API operation, the standard is
enabled by default unless EnableDefaultStandards
is set to false
.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.