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 String
getRegion()
Returns the region string to be used when signing a request for an endpoint.String
getService()
Returns the service name string to be used when signing a request for an endpoint.void
setRegion(String region)
Sets the region string to be used when signing a request for an endpoint.void
setService(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.
-
-