Package com.amazonaws.partitions.model
Class CredentialScope
- java.lang.Object
-
- com.amazonaws.partitions.model.CredentialScope
-
public class CredentialScope extends Object
credential scope associated with an endpoint.
-
-
Constructor Summary
Constructors Constructor Description CredentialScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRegion()Returns the region string to be used when signing a request for an endpoint.StringgetService()Returns the service name string to be used when signing a request for an endpoint.voidsetRegion(String region)Sets the region string to be used when signing a request for an endpoint.voidsetService(String service)Sets the service name string to be used when signing a request for an endpoint.
-
-
-
Method Detail
-
getRegion
public String getRegion()
Returns the region string to be used when signing a request for an endpoint.
-
setRegion
public void setRegion(String region)
Sets the region string to be used when signing a request for an endpoint.
-
getService
public String getService()
Returns the service name string to be used when signing a request for an endpoint.
-
setService
public void setService(String service)
Sets the service name string to be used when signing a request for an endpoint.
-
-