@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) |
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() |
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 |
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 String toString()
toString
in class Object
Object.toString()
public DescribeHubResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.