@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHubResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateHubResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateHubResult |
clone() |
boolean |
equals(Object obj) |
String |
getHubArn()
The Amazon Resource Name (ARN) of the hub.
|
int |
hashCode() |
void |
setHubArn(String hubArn)
The Amazon Resource Name (ARN) of the hub.
|
String |
toString()
Returns a string representation of this object.
|
CreateHubResult |
withHubArn(String hubArn)
The Amazon Resource Name (ARN) of the hub.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setHubArn(String hubArn)
The Amazon Resource Name (ARN) of the hub.
hubArn - The Amazon Resource Name (ARN) of the hub.public String getHubArn()
The Amazon Resource Name (ARN) of the hub.
public CreateHubResult withHubArn(String hubArn)
The Amazon Resource Name (ARN) of the hub.
hubArn - The Amazon Resource Name (ARN) of the hub.public String toString()
toString in class ObjectObject.toString()public CreateHubResult clone()