@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHubContentReferenceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateHubContentReferenceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateHubContentReferenceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getHubContentName()
The name of the hub content to reference.
|
String |
getHubName()
The name of the hub to add the hub content reference to.
|
String |
getMinVersion()
The minimum version of the hub content to reference.
|
String |
getSageMakerPublicHubContentArn()
The ARN of the public hub content to reference.
|
List<Tag> |
getTags()
Any tags associated with the hub content to reference.
|
int |
hashCode() |
void |
setHubContentName(String hubContentName)
The name of the hub content to reference.
|
void |
setHubName(String hubName)
The name of the hub to add the hub content reference to.
|
void |
setMinVersion(String minVersion)
The minimum version of the hub content to reference.
|
void |
setSageMakerPublicHubContentArn(String sageMakerPublicHubContentArn)
The ARN of the public hub content to reference.
|
void |
setTags(Collection<Tag> tags)
Any tags associated with the hub content to reference.
|
String |
toString()
Returns a string representation of this object.
|
CreateHubContentReferenceRequest |
withHubContentName(String hubContentName)
The name of the hub content to reference.
|
CreateHubContentReferenceRequest |
withHubName(String hubName)
The name of the hub to add the hub content reference to.
|
CreateHubContentReferenceRequest |
withMinVersion(String minVersion)
The minimum version of the hub content to reference.
|
CreateHubContentReferenceRequest |
withSageMakerPublicHubContentArn(String sageMakerPublicHubContentArn)
The ARN of the public hub content to reference.
|
CreateHubContentReferenceRequest |
withTags(Collection<Tag> tags)
Any tags associated with the hub content to reference.
|
CreateHubContentReferenceRequest |
withTags(Tag... tags)
Any tags associated with the hub content to reference.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setHubName(String hubName)
The name of the hub to add the hub content reference to.
hubName
- The name of the hub to add the hub content reference to.public String getHubName()
The name of the hub to add the hub content reference to.
public CreateHubContentReferenceRequest withHubName(String hubName)
The name of the hub to add the hub content reference to.
hubName
- The name of the hub to add the hub content reference to.public void setSageMakerPublicHubContentArn(String sageMakerPublicHubContentArn)
The ARN of the public hub content to reference.
sageMakerPublicHubContentArn
- The ARN of the public hub content to reference.public String getSageMakerPublicHubContentArn()
The ARN of the public hub content to reference.
public CreateHubContentReferenceRequest withSageMakerPublicHubContentArn(String sageMakerPublicHubContentArn)
The ARN of the public hub content to reference.
sageMakerPublicHubContentArn
- The ARN of the public hub content to reference.public void setHubContentName(String hubContentName)
The name of the hub content to reference.
hubContentName
- The name of the hub content to reference.public String getHubContentName()
The name of the hub content to reference.
public CreateHubContentReferenceRequest withHubContentName(String hubContentName)
The name of the hub content to reference.
hubContentName
- The name of the hub content to reference.public void setMinVersion(String minVersion)
The minimum version of the hub content to reference.
minVersion
- The minimum version of the hub content to reference.public String getMinVersion()
The minimum version of the hub content to reference.
public CreateHubContentReferenceRequest withMinVersion(String minVersion)
The minimum version of the hub content to reference.
minVersion
- The minimum version of the hub content to reference.public List<Tag> getTags()
Any tags associated with the hub content to reference.
public void setTags(Collection<Tag> tags)
Any tags associated with the hub content to reference.
tags
- Any tags associated with the hub content to reference.public CreateHubContentReferenceRequest withTags(Tag... tags)
Any tags associated with the hub content to reference.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags associated with the hub content to reference.public CreateHubContentReferenceRequest withTags(Collection<Tag> tags)
Any tags associated with the hub content to reference.
tags
- Any tags associated with the hub content to reference.public String toString()
toString
in class Object
Object.toString()
public CreateHubContentReferenceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()