@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTransitGatewayRegistrationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetTransitGatewayRegistrationsResult() |
Modifier and Type | Method and Description |
---|---|
GetTransitGatewayRegistrationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next page of results.
|
List<TransitGatewayRegistration> |
getTransitGatewayRegistrations()
The transit gateway registrations.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setTransitGatewayRegistrations(Collection<TransitGatewayRegistration> transitGatewayRegistrations)
The transit gateway registrations.
|
String |
toString()
Returns a string representation of this object.
|
GetTransitGatewayRegistrationsResult |
withNextToken(String nextToken)
The token for the next page of results.
|
GetTransitGatewayRegistrationsResult |
withTransitGatewayRegistrations(Collection<TransitGatewayRegistration> transitGatewayRegistrations)
The transit gateway registrations.
|
GetTransitGatewayRegistrationsResult |
withTransitGatewayRegistrations(TransitGatewayRegistration... transitGatewayRegistrations)
The transit gateway registrations.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetTransitGatewayRegistrationsResult()
public List<TransitGatewayRegistration> getTransitGatewayRegistrations()
The transit gateway registrations.
public void setTransitGatewayRegistrations(Collection<TransitGatewayRegistration> transitGatewayRegistrations)
The transit gateway registrations.
transitGatewayRegistrations
- The transit gateway registrations.public GetTransitGatewayRegistrationsResult withTransitGatewayRegistrations(TransitGatewayRegistration... transitGatewayRegistrations)
The transit gateway registrations.
NOTE: This method appends the values to the existing list (if any). Use
setTransitGatewayRegistrations(java.util.Collection)
or
withTransitGatewayRegistrations(java.util.Collection)
if you want to override the existing values.
transitGatewayRegistrations
- The transit gateway registrations.public GetTransitGatewayRegistrationsResult withTransitGatewayRegistrations(Collection<TransitGatewayRegistration> transitGatewayRegistrations)
The transit gateway registrations.
transitGatewayRegistrations
- The transit gateway registrations.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public GetTransitGatewayRegistrationsResult withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public GetTransitGatewayRegistrationsResult clone()