@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeHubResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeHubResult() |
Modifier and Type | Method and Description |
---|---|
DescribeHubResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoEnableControls()
Whether to automatically enable new controls when they are added to standards that are enabled.
|
String |
getHubArn()
The ARN of the Hub resource that was retrieved.
|
String |
getSubscribedAt()
The date and time when Security Hub was enabled in the account.
|
int |
hashCode() |
Boolean |
isAutoEnableControls()
Whether to automatically enable new controls when they are added to standards that are enabled.
|
void |
setAutoEnableControls(Boolean autoEnableControls)
Whether to automatically enable new controls when they are added to standards that are enabled.
|
void |
setHubArn(String hubArn)
The ARN of the Hub resource that was retrieved.
|
void |
setSubscribedAt(String subscribedAt)
The date and time when Security Hub was enabled in the account.
|
String |
toString()
Returns a string representation of this object.
|
DescribeHubResult |
withAutoEnableControls(Boolean autoEnableControls)
Whether to automatically enable new controls when they are added to standards that are enabled.
|
DescribeHubResult |
withHubArn(String hubArn)
The ARN of the Hub resource that was retrieved.
|
DescribeHubResult |
withSubscribedAt(String subscribedAt)
The date and time when Security Hub was enabled in the account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setHubArn(String hubArn)
The ARN of the Hub resource that was retrieved.
hubArn
- The ARN of the Hub resource that was retrieved.public String getHubArn()
The ARN of the Hub resource that was retrieved.
public DescribeHubResult withHubArn(String hubArn)
The ARN of the Hub resource that was retrieved.
hubArn
- The ARN of the Hub resource that was retrieved.public void setSubscribedAt(String subscribedAt)
The date and time when Security Hub was enabled in the account.
subscribedAt
- The date and time when Security Hub was enabled in the account.public String getSubscribedAt()
The date and time when Security Hub was enabled in the account.
public DescribeHubResult withSubscribedAt(String subscribedAt)
The date and time when Security Hub was enabled in the account.
subscribedAt
- The date and time when Security Hub was enabled in the account.public void setAutoEnableControls(Boolean autoEnableControls)
Whether to automatically enable new controls when they are added to standards that are enabled.
If set to true
, then new controls for enabled standards are enabled automatically. If set to
false
, then new controls are not enabled.
autoEnableControls
- Whether to automatically enable new controls when they are added to standards that are enabled.
If set to true
, then new controls for enabled standards are enabled automatically. If set to
false
, then new controls are not enabled.
public Boolean getAutoEnableControls()
Whether to automatically enable new controls when they are added to standards that are enabled.
If set to true
, then new controls for enabled standards are enabled automatically. If set to
false
, then new controls are not enabled.
If set to true
, then new controls for enabled standards are enabled automatically. If set to
false
, then new controls are not enabled.
public DescribeHubResult withAutoEnableControls(Boolean autoEnableControls)
Whether to automatically enable new controls when they are added to standards that are enabled.
If set to true
, then new controls for enabled standards are enabled automatically. If set to
false
, then new controls are not enabled.
autoEnableControls
- Whether to automatically enable new controls when they are added to standards that are enabled.
If set to true
, then new controls for enabled standards are enabled automatically. If set to
false
, then new controls are not enabled.
public Boolean isAutoEnableControls()
Whether to automatically enable new controls when they are added to standards that are enabled.
If set to true
, then new controls for enabled standards are enabled automatically. If set to
false
, then new controls are not enabled.
If set to true
, then new controls for enabled standards are enabled automatically. If set to
false
, then new controls are not enabled.
public String toString()
toString
in class Object
Object.toString()
public DescribeHubResult clone()