@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateOpsItemRelatedItemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateOpsItemRelatedItemRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateOpsItemRelatedItemRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssociationType()
The type of association that you want to create between an OpsItem and a resource.
|
String |
getOpsItemId()
The ID of the OpsItem to which you want to associate a resource as a related item.
|
String |
getResourceType()
The type of resource that you want to associate with an OpsItem.
|
String |
getResourceUri()
The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
|
int |
hashCode() |
void |
setAssociationType(String associationType)
The type of association that you want to create between an OpsItem and a resource.
|
void |
setOpsItemId(String opsItemId)
The ID of the OpsItem to which you want to associate a resource as a related item.
|
void |
setResourceType(String resourceType)
The type of resource that you want to associate with an OpsItem.
|
void |
setResourceUri(String resourceUri)
The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
|
String |
toString()
Returns a string representation of this object.
|
AssociateOpsItemRelatedItemRequest |
withAssociationType(String associationType)
The type of association that you want to create between an OpsItem and a resource.
|
AssociateOpsItemRelatedItemRequest |
withOpsItemId(String opsItemId)
The ID of the OpsItem to which you want to associate a resource as a related item.
|
AssociateOpsItemRelatedItemRequest |
withResourceType(String resourceType)
The type of resource that you want to associate with an OpsItem.
|
AssociateOpsItemRelatedItemRequest |
withResourceUri(String resourceUri)
The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
|
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 setOpsItemId(String opsItemId)
The ID of the OpsItem to which you want to associate a resource as a related item.
opsItemId
- The ID of the OpsItem to which you want to associate a resource as a related item.public String getOpsItemId()
The ID of the OpsItem to which you want to associate a resource as a related item.
public AssociateOpsItemRelatedItemRequest withOpsItemId(String opsItemId)
The ID of the OpsItem to which you want to associate a resource as a related item.
opsItemId
- The ID of the OpsItem to which you want to associate a resource as a related item.public void setAssociationType(String associationType)
The type of association that you want to create between an OpsItem and a resource. OpsCenter supports
IsParentOf
and RelatesTo
association types.
associationType
- The type of association that you want to create between an OpsItem and a resource. OpsCenter supports
IsParentOf
and RelatesTo
association types.public String getAssociationType()
The type of association that you want to create between an OpsItem and a resource. OpsCenter supports
IsParentOf
and RelatesTo
association types.
IsParentOf
and RelatesTo
association types.public AssociateOpsItemRelatedItemRequest withAssociationType(String associationType)
The type of association that you want to create between an OpsItem and a resource. OpsCenter supports
IsParentOf
and RelatesTo
association types.
associationType
- The type of association that you want to create between an OpsItem and a resource. OpsCenter supports
IsParentOf
and RelatesTo
association types.public void setResourceType(String resourceType)
The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:
AWS::SSMIncidents::IncidentRecord
: an Incident Manager incident.
AWS::SSM::Document
: a Systems Manager (SSM) document.
resourceType
- The type of resource that you want to associate with an OpsItem. OpsCenter supports the following
types:
AWS::SSMIncidents::IncidentRecord
: an Incident Manager incident.
AWS::SSM::Document
: a Systems Manager (SSM) document.
public String getResourceType()
The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:
AWS::SSMIncidents::IncidentRecord
: an Incident Manager incident.
AWS::SSM::Document
: a Systems Manager (SSM) document.
AWS::SSMIncidents::IncidentRecord
: an Incident Manager incident.
AWS::SSM::Document
: a Systems Manager (SSM) document.
public AssociateOpsItemRelatedItemRequest withResourceType(String resourceType)
The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:
AWS::SSMIncidents::IncidentRecord
: an Incident Manager incident.
AWS::SSM::Document
: a Systems Manager (SSM) document.
resourceType
- The type of resource that you want to associate with an OpsItem. OpsCenter supports the following
types:
AWS::SSMIncidents::IncidentRecord
: an Incident Manager incident.
AWS::SSM::Document
: a Systems Manager (SSM) document.
public void setResourceUri(String resourceUri)
The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
resourceUri
- The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the
OpsItem.public String getResourceUri()
The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
public AssociateOpsItemRelatedItemRequest withResourceUri(String resourceUri)
The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
resourceUri
- The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the
OpsItem.public String toString()
toString
in class Object
Object.toString()
public AssociateOpsItemRelatedItemRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()