public ActionDeclaration withRegion(String region) {
        setRegion(region);
        return this;
    }
<p>
The action declaration's Amazon Web Services Region, such as us-east-1.
</p>

@param region
       The action declaration's Amazon Web Services Region, such as us-east-1.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ActionDeclaration.java