public class CreateSegmentRequest extends AmazonWebServiceRequest implements java.io.Serializable
Constructor and Description |
---|
CreateSegmentRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The unique ID of your Amazon Pinpoint application.
|
WriteSegmentRequest |
getWriteSegmentRequest()
Segment definition.
|
int |
hashCode() |
void |
setApplicationId(java.lang.String applicationId)
The unique ID of your Amazon Pinpoint application.
|
void |
setWriteSegmentRequest(WriteSegmentRequest writeSegmentRequest)
Segment definition.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSegmentRequest |
withApplicationId(java.lang.String applicationId)
The unique ID of your Amazon Pinpoint application.
|
CreateSegmentRequest |
withWriteSegmentRequest(WriteSegmentRequest writeSegmentRequest)
Segment definition.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId
- The unique ID of your Amazon Pinpoint application.public CreateSegmentRequest withApplicationId(java.lang.String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId
- The unique ID of your Amazon Pinpoint application.public WriteSegmentRequest getWriteSegmentRequest()
public void setWriteSegmentRequest(WriteSegmentRequest writeSegmentRequest)
writeSegmentRequest
- Segment definition.public CreateSegmentRequest withWriteSegmentRequest(WriteSegmentRequest writeSegmentRequest)
Returns a reference to this object so that method calls can be chained together.
writeSegmentRequest
- Segment definition.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.