@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrpcRoute extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a gRPC route type.
Constructor and Description |
---|
GrpcRoute() |
Modifier and Type | Method and Description |
---|---|
GrpcRoute |
clone() |
boolean |
equals(Object obj) |
GrpcRouteAction |
getAction()
An object that represents the action to take if a match is determined.
|
GrpcRouteMatch |
getMatch()
An object that represents the criteria for determining a request match.
|
GrpcRetryPolicy |
getRetryPolicy()
An object that represents a retry policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(GrpcRouteAction action)
An object that represents the action to take if a match is determined.
|
void |
setMatch(GrpcRouteMatch match)
An object that represents the criteria for determining a request match.
|
void |
setRetryPolicy(GrpcRetryPolicy retryPolicy)
An object that represents a retry policy.
|
String |
toString()
Returns a string representation of this object.
|
GrpcRoute |
withAction(GrpcRouteAction action)
An object that represents the action to take if a match is determined.
|
GrpcRoute |
withMatch(GrpcRouteMatch match)
An object that represents the criteria for determining a request match.
|
GrpcRoute |
withRetryPolicy(GrpcRetryPolicy retryPolicy)
An object that represents a retry policy.
|
public void setAction(GrpcRouteAction action)
An object that represents the action to take if a match is determined.
action
- An object that represents the action to take if a match is determined.public GrpcRouteAction getAction()
An object that represents the action to take if a match is determined.
public GrpcRoute withAction(GrpcRouteAction action)
An object that represents the action to take if a match is determined.
action
- An object that represents the action to take if a match is determined.public void setMatch(GrpcRouteMatch match)
An object that represents the criteria for determining a request match.
match
- An object that represents the criteria for determining a request match.public GrpcRouteMatch getMatch()
An object that represents the criteria for determining a request match.
public GrpcRoute withMatch(GrpcRouteMatch match)
An object that represents the criteria for determining a request match.
match
- An object that represents the criteria for determining a request match.public void setRetryPolicy(GrpcRetryPolicy retryPolicy)
An object that represents a retry policy.
retryPolicy
- An object that represents a retry policy.public GrpcRetryPolicy getRetryPolicy()
An object that represents a retry policy.
public GrpcRoute withRetryPolicy(GrpcRetryPolicy retryPolicy)
An object that represents a retry policy.
retryPolicy
- An object that represents a retry policy.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.