@JsonProperty(value = "credentialScope")
    public void setCredentialScope(CredentialScope credentialScope) {
        this.credentialScope = credentialScope;
    }
sets the credential scope for the endpoint.
aws-java-sdk-core/src/main/java/com/amazonaws/partitions/model/Endpoint.java