public class AssociateTrackerConsumerRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.
Constructor and Description |
---|
AssociateTrackerConsumerRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConsumerArn()
The Amazon Resource Name (ARN) for the geofence collection to be
associated to tracker resource.
|
java.lang.String |
getTrackerName()
The name of the tracker resource to be associated with a geofence
collection.
|
int |
hashCode() |
void |
setConsumerArn(java.lang.String consumerArn)
The Amazon Resource Name (ARN) for the geofence collection to be
associated to tracker resource.
|
void |
setTrackerName(java.lang.String trackerName)
The name of the tracker resource to be associated with a geofence
collection.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateTrackerConsumerRequest |
withConsumerArn(java.lang.String consumerArn)
The Amazon Resource Name (ARN) for the geofence collection to be
associated to tracker resource.
|
AssociateTrackerConsumerRequest |
withTrackerName(java.lang.String trackerName)
The name of the tracker resource to be associated with a geofence
collection.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getConsumerArn()
The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
Format example:
arn:partition:service:region:account-id:resource-type:resource-id
Constraints:
Length: 0 - 1600
Pattern:
^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
9]+)*)?){2}:([^/].*)?$
The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
Format example:
arn:partition:service:region:account-id:resource-type:resource-id
public void setConsumerArn(java.lang.String consumerArn)
The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
Format example:
arn:partition:service:region:account-id:resource-type:resource-id
Constraints:
Length: 0 - 1600
Pattern:
^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
9]+)*)?){2}:([^/].*)?$
consumerArn
- The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
Format example:
arn:partition:service:region:account-id:resource-type:resource-id
public AssociateTrackerConsumerRequest withConsumerArn(java.lang.String consumerArn)
The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
Format example:
arn:partition:service:region:account-id:resource-type:resource-id
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1600
Pattern:
^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-
9]+)*)?){2}:([^/].*)?$
consumerArn
- The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
Format example:
arn:partition:service:region:account-id:resource-type:resource-id
public java.lang.String getTrackerName()
The name of the tracker resource to be associated with a geofence collection.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
The name of the tracker resource to be associated with a geofence collection.
public void setTrackerName(java.lang.String trackerName)
The name of the tracker resource to be associated with a geofence collection.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
trackerName
- The name of the tracker resource to be associated with a geofence collection.
public AssociateTrackerConsumerRequest withTrackerName(java.lang.String trackerName)
The name of the tracker resource to be associated with a geofence collection.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
trackerName
- The name of the tracker resource to be associated with a geofence collection.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.